laravel-coreui-vue icon indicating copy to clipboard operation
laravel-coreui-vue copied to clipboard

Lazy-loading isn't working

Open a-dung-97 opened this issue 6 years ago • 1 comments

Hello I'm a newbie. I used lazy-loading in vue router but an error occurred. The app.scss wasn't complied image Please help me because I'm new to javascript.Thanks alot!

a-dung-97 avatar Jul 04 '19 09:07 a-dung-97

I'm not recommended using lazy load if you new to js, because this project not tested before with lazy-loading component. I afraid you need do some setup to this project before you can go.

but if want, i can give you some example:

export default [
  {
    path     : 'sompath',
    name     : 'Route Name',
    component: () => import('./path/to/Component.vue')
  }
]

adenvt avatar Jul 05 '19 13:07 adenvt