Skip to content

Dynamically import Vue components in routes #272

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 1 commit into from
Feb 19, 2021

Conversation

mbrodala
Copy link
Contributor

Q A
Branch? main
Bug fix? no
New feature? yes
Deprecations? no
Tickets none
License MIT
Doc PR none

Dynamically import Vue components in routes and use common Webpack chunk name.

See https://router.vuejs.org/guide/advanced/lazy-loading.html
And https://webpack.js.org/api/module-methods/#magic-comments

@alOneh
Copy link
Contributor

alOneh commented Feb 19, 2021

Thanks @mbrodala !

@alOneh alOneh merged commit bb39f58 into api-platform:main Feb 19, 2021
@mbrodala mbrodala deleted the patch-1 branch February 19, 2021 09:23
@mbrodala
Copy link
Contributor Author

Thanks for the quick merge!

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