[Vuejs]-Vue js split bundle into few files via Webpack

0👍

Try eager importing.

const dependency = () => import(
  /* webpackChunkName: "login-chunk" */
  /* webpackMode: "eager" */
  'module in Login.vue'
).then(m => m.default || m);

Leave a comment