const routes = [ { name: 'main', path: '/', component: () => import('layouts/MainLayout.vue') }, { name: 'privacy-policy', path: '/privacy-policy', component: () => import('pages/DocPage.vue') }, { name: 'terms', path: '/terms-of-use', component: () => import('pages/DocPage.vue') }, { path: '/:catchAll(.*)*', component: () => import('pages/ErrorNotFound.vue') } ] export default routes