Skip to content

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

Description

@miladganjali

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 });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions