import { RouteRecordRaw } from 'vue-router' ; const routes = [ { path : '/' , component : ( ) => import ( 'layouts/MainLayout.vue' ) , children : [ { path : '' , component : ( ) => import ( 'pages/Index.vue' ) } ] , } , { path : '/print-pages/' , component : ( ) => import ( 'layouts/PrintLayout.vue' ) , children : [ { path : 'invoices-quotations/:invoiceQuotationId/:documentType' , component : ( ) => import ( 'pages/InvoiceQuotation.vue' ) , } , ] , } , { path : '/:catchAll(.*)*' , component : ( ) => import ( 'pages/Error404.vue' ) , } , ] ; export default routes ;