initial commit

This commit is contained in:
leejooy96 committed 2022-06-10 14:21:26 +09:00
commit 13ae6c773c
36 files changed
+24137

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { createRouter, createWebHashHistory } from 'vue-router/dist/vue-router.esm-bundler'
import { MainScreen, ErrorScreen } from '../components/screen'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/',
component: MainScreen
},
{
path: '/crash',
component: ErrorScreen
},
{
path: '/:pathMatch(.*)*',
redirect: '/'
}
]
})
export default router