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

Config note for vue-loader@^12.0 #9

Closed
yyx990803 opened this issue May 26, 2017 · 2 comments
Closed

Config note for vue-loader@^12.0 #9

yyx990803 opened this issue May 26, 2017 · 2 comments

Comments

@yyx990803
Copy link

In the near future, with the following setup:

  • vue & vue-template-compiler >= 2.4.0
  • vue-loader >= 12.1.0
  • webpack config with target: 'node'

The *.vue component will automatically be compiled in "SSR optimization mode" which makes its render function unsable for DOM-based rendering/testing. For this lib to work properly after Vue 2.4 is out, the user will need to turn this off explicitly using a new vue-loader option optimizeSSR: false. It will probably be at least a month from now but just want to give you a heads up.

@knpwrs
Copy link
Owner

knpwrs commented May 26, 2017

Thanks, @yyx990803. Is that option available now?

@yyx990803
Copy link
Author

@knpwrs yeah it's already in vue-loader@12.1.1.

@knpwrs knpwrs closed this as completed in 0c3bc1e May 29, 2017
knpwrs added a commit that referenced this issue May 29, 2017
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