This commit is contained in:
zyronon
2023-12-03 20:58:59 +08:00
parent c94f20645a
commit 20165db2f3
5 changed files with 98 additions and 22 deletions

View File

@@ -1,11 +1,13 @@
import * as VueRouter from 'vue-router'
import Practice from "@/pages/practice/index.vue";
import Dict from '@/pages/dict'
import Test from "@/pages/test.vue";
const routes: any[] = [
{path: '/practice', component: Practice},
{path: '/dict', name: 'dict', component: Dict},
{path: '/', redirect: '/practice'},
{path: '/test', name: 'test', component: Test},
{path: '/', redirect: '/test'},
]
const router = VueRouter.createRouter({