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.
In the near future, with the following setup:
vue
&vue-template-compiler
>= 2.4.0vue-loader
>= 12.1.0target: '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 newvue-loader
optionoptimizeSSR: false
. It will probably be at least a month from now but just want to give you a heads up.