DEV Community

Discussion on: Lazy loading in Vue using Webpack's code splitting

tribex profile image
Joshua Bemenderfer

I generally split based on which paths I expect the user to take through the app. If there are multiple types of users, then components specific to each type of user or more common for one are split away from the main app.