-1👍
{ path: ‘/about’, component: ()=>import(‘vr/views/About.vue’) }, ✅
{ path: ‘/about’, component: import(‘vr/views/About.vue’) },❌ // But it works
Source:stackexchange.com
-1👍
{ path: ‘/about’, component: ()=>import(‘vr/views/About.vue’) }, ✅
{ path: ‘/about’, component: import(‘vr/views/About.vue’) },❌ // But it works