Vue - Be able to modify the entrypoint according to the root component. #988
dylanalizon
started this conversation in
Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Summary
It is currently possible to have a customized entrypoint, but it is not possible to customize it according to the root component. For example, if only one component requires vue-router, all other components will also have vue-router to configure. All plugins will be initialized for all Vue components. Whereas if you had access to the root component in the entrypoint, you could set conditions to load or not load a plugin.
Background & Motivation
Improve the performance of my components
Example
Beta Was this translation helpful? Give feedback.
All reactions