save
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user