const routes = [ { path: '/', component: () => import('layouts/LifeWaveLayout.vue'), children: [ { path: '', component: () => import('pages/LifeWavePage.vue') } ] }, // Always leave this as last one { path: '/:catchAll(.*)*', component: () => import('pages/ErrorNotFound.vue'), }, ] export default routes