Hello, the link above (http://beta.quasar-framework.org/components/integrating-layout-with-router.html) is broken and I really struggle to make my subroutes working.
const routes = [
{
path: '/',
component: () => import('layouts/MainLayout.vue'),
children: [
{ path: '/', component: () => import('pages/Home.vue'), meta: { requiresLogin: true } },
{ path: '/home', component: () => import('pages/Home.vue'), meta: { requiresLogin: true } },
{ path: '/memberships', component: () => import('pages/Memberships.vue'), meta: { requiresLogin: true } },
{ path: '/calendar', component: () => import('pages/Calendar.vue'), meta: { requiresLogin: true } },
{ path: '/settings', component: () => import('pages/Settings.vue'), meta: { requiresLogin: true } },
{ path: '/login', component: () => import('pages/Login.vue') },
{
path: '/editvenue',
component: EditPlace,
children: [
{ path: 'test', name: 'EditVenue', component: () => import('pages/EditPlace') }
]
}
]
}
]
I tried everything and localhost:8080/editvenue/test
is always broken:
GET http://localhost:8080/editvenue/app.js net::ERR_ABORTED 404 (Not Found)
Sorry for a stupid question but I’m desperate.