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

Can I disable auto install in dist mode if I'm loading vuex from a packaged bundle? #900

Closed
paulopmx opened this issue Aug 4, 2017 · 2 comments

Comments

@paulopmx
Copy link

paulopmx commented Aug 4, 2017

What problem does this feature solve?

I'm creating an embedded js app that needs to be isolated from what ever version or Vue/Vuex tools the webpage owner is using. When I call Vuex, it tries to install itself into the window.Vue when I don't need it to, because I'm already importing Vue

What does the proposed API look like?

Not really sure. I end up just hacking the vuex.esm.js file
Maybe a separate package for dist and package bundles

@posva
Copy link
Member

posva commented Aug 4, 2017

dup of #731

@posva posva closed this as completed Aug 4, 2017
@paulopmx
Copy link
Author

paulopmx commented Aug 4, 2017

@posva The solution in the referenced link does not solve my issue. That's why I added my own comment and shared a hack. Please note, that I will be running my app inside another web page that may have included a different version vue js via a script tag.

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

2 participants