Open a-dung-97 opened 5 years ago
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')
}
]
Hello I'm a newbie. I used lazy-loading in vue router but an error occurred. The app.scss wasn't complied Please help me because I'm new to javascript.Thanks alot!