Open JollyBrackets opened 6 years ago
@JollyBrackets For this we will need to revert this to be able to use import() function on specific components.
yeah I know.. but this makes development easier =) So once we're happy with the overall app we can do optimisations like this. What do you think?
@JollyBrackets Sure, we are not in a hurry with this i think.
And i was thinking about that we might wanna try to do something like this global registering of all the needed components inside Manager.vue component, so that we'll have only 2 bundle chunks - 1 for Public and 1 for Manager, that would load fully when user navigates to "/manager". Because without it we'd need a lot of chunks to fully split the manager part (as i understand correctly how code splitting in webpack + vue works).
https://www.youtube.com/watch?v=rn97hCNQsKI&feature=youtu.be