Skip to content

implement lazy-loading of components; fixes dynamic imports #215

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

Merged
merged 3 commits into from
Jun 30, 2017

Conversation

akanix42
Copy link
Contributor

@akanix42 akanix42 commented Jun 30, 2017

This PR implements lazy-loading for any .vue files that are found in imports or node_modules directories.
This fixes issues where the .vue files in imports/ were getting included in the production bundle (#193), and also fixes dynamic imports (#203, #114).
An example project with dynamic imports (not including the vue-component) can be found here:
https://github.com/nathantreid/vue-component-test/tree/dynamic-import

@Akryum
Copy link
Collaborator

Akryum commented Jun 30, 2017

Great PR! 👍

@Akryum Akryum merged commit 4de3ffb into meteor-vue:master Jun 30, 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

Successfully merging this pull request may close these issues.

2 participants