mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
initial commit
This commit is contained in:
parent
e7a6126fbd
commit
4b0dff4102
40 changed files with 13635 additions and 0 deletions
24
webclientvue/src/router/routes.ts
Normal file
24
webclientvue/src/router/routes.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: '/',
|
||||
component: () => import('layouts/MainLayout.vue'),
|
||||
children: [{ path: '', component: () => import('pages/IndexPage.vue') }],
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
name: '',
|
||||
component: () => import('layouts/MainLayout.vue'),
|
||||
children: [{ path: 'home', name: 'home', component: () => import('pages/HomePage.vue') }],
|
||||
},
|
||||
|
||||
// Always leave this as last one,
|
||||
// but you can also remove it
|
||||
{
|
||||
path: '/:catchAll(.*)*',
|
||||
component: () => import('pages/ErrorNotFound.vue'),
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Loading…
Add table
Add a link
Reference in a new issue