|
@@ -1,23 +1,28 @@
|
|
|
-
|
|
|
import Home from "./components/Home.vue";
|
|
|
import {createRouter, createWebHistory} from "vue-router";
|
|
|
import ApplyUserInfo from "./components/ApplyUserInfo.vue";
|
|
|
+import Test from "./components/Test.vue";
|
|
|
|
|
|
const routes = [
|
|
|
{
|
|
|
- path:"/",
|
|
|
- name:"Home",
|
|
|
- component:Home,
|
|
|
+ path: "/",
|
|
|
+ name: "Home",
|
|
|
+ component: Home,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/applyUserInfo",
|
|
|
+ name: "ApplyUserInfo",
|
|
|
+ component: ApplyUserInfo,
|
|
|
},
|
|
|
{
|
|
|
- path:"/applyUserInfo",
|
|
|
- name:"ApplyUserInfo",
|
|
|
- component:ApplyUserInfo,
|
|
|
+ path: "/test",
|
|
|
+ name: "Test",
|
|
|
+ component: Test,
|
|
|
},
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history:createWebHistory(),routes,
|
|
|
+ history: createWebHistory(), routes,
|
|
|
})
|
|
|
|
|
|
export default router;
|