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

Code splitting support #61

Closed
yyx990803 opened this issue Oct 1, 2017 · 1 comment
Closed

Code splitting support #61

yyx990803 opened this issue Oct 1, 2017 · 1 comment

Comments

@yyx990803
Copy link
Member

Theoretically we should be able to support async components imported by the tested component when using mocha-webpack with the following config:

  • target: 'node' for webpack
  • optimizeSSR: false for vue-loader

But there are still some issues right now that prevents it from working. Need to investigate a bit further.

Most of the time splitting is done at route level so this is not a high priority concern, but would be nice to figure it out down the road.

@JessicaSachs
Copy link
Collaborator

Hey @yyx990803, seemingly there is a working test that exercises dynamically imported components. (link) Am I missing something?

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

No branches or pull requests

3 participants