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

update example server conf to include VUE_ENV config #218

Open
LinusBorg opened this issue Dec 22, 2018 · 0 comments · May be fixed by #219
Open

update example server conf to include VUE_ENV config #218

LinusBorg opened this issue Dec 22, 2018 · 0 comments · May be fixed by #219

Comments

@LinusBorg
Copy link
Member

LinusBorg commented Dec 22, 2018

See vuejs/vue#9232 (comment)

When using a bundleRenderer, we have to make webpack pass the VUE_ENV env variable to the app with a DefinePlugin to actually make Vue.prototype.$isServer work.

The hackernews example repo does this, but in the docs we don't mention it anywhere.

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

Successfully merging a pull request may close this issue.

1 participant