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

Does not work with Vuex #20

Closed
ais-one opened this issue Apr 29, 2020 · 1 comment
Closed

Does not work with Vuex #20

ais-one opened this issue Apr 29, 2020 · 1 comment

Comments

@ais-one
Copy link
Contributor

ais-one commented Apr 29, 2020

It can't work with Vuex due to process being undefined when createStore is called

It was looking for process.env.NODE_ENV

The workaround was to include the following in the index.html file where createStore was called...

window.process = { env: { NODE_ENV: 'you can put whatever you want here' } }

Also submitted an issue in Vuex for their attention...

vuejs/vuex#1737

@ais-one
Copy link
Contributor Author

ais-one commented Apr 29, 2020

It is being fixed in vuejs/vuex#1730

@ais-one ais-one closed this as completed Apr 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
antfu pushed a commit that referenced this issue Oct 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant