Skip to content

Config note for vue-loader@^12.0 #9

Closed
@yyx990803

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions