Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vuex store problems in other packages when using the screen-builder #1297

Open
miladganjali opened this issue Nov 30, 2022 · 0 comments
Open

Comments

@miladganjali
Copy link

Hello
thanks for great package the line 89 in index.js that I mention below will cause great problem when this package used in another
vue package.

the global vue mixin will override the entire store of any package that use the screen-builder package.

Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
globalErrorsModule,
// @todo Improve how to load this module, it is used only in the form builder, not used in the form renderer.
undoRedoModule
}
});
Vue.mixin({ store });

@miladganjali miladganjali changed the title store problems in other packages when using the screen-builder vuex store problems in other packages when using the screen-builder Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant