index.js 610 Bytes
const routes = [
    {
        path: '/',
        name: 'home',
        component: () => myImport('views/home/index')
    },
    {
        path: '/services',
        name: 'services',
        component: () => myImport('views/services/index')
    },
    {
        path: '/about',
        name: 'about',
        component: () => myImport('views/about/index')
    },
    {
        path: '/concat',
        name: 'concat',
        component: () => myImport('views/concat/index')
    }
];

const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes
});

export default router