| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import { createRouter, createWebHistory } from "vue-router";
- import HomeIndex from "../views/HomeIndex.vue";
- import ApplyPermission from "../views/index/ApplyPermission.vue";
- import SplashScreen from "../views/index/SplashScreen.vue";
- import RiskTips from "../views/index/RiskTips.vue";
- import SearchIcon from "../views/index/SearchIcon.vue";
- import Notification from "../views/notification/Index.vue";
- import IndexUser from "../views/index/User.vue";
- import UserCenter from "../views/index/UserCenter.vue";
- const routes = [
- {
- path: "/",
- name: "home",
- component: HomeIndex,
- },
- {
- path: "/applyPermission",
- name: "applyPermission",
- component: ApplyPermission,
- },
- {
- path: "/splashScreen",
- name: "splashScreen",
- component: SplashScreen,
- },
- {
- path: "/riskTips",
- name: "riskTips",
- component: RiskTips,
- },
- {
- path: "/searchIcon",
- name: "searchIcon",
- component: SearchIcon,
- },
- {
- path: "/notification",
- name: "notification",
- component: Notification,
- },
- {
- path: "/indexUser",
- name: "indexUser",
- component: IndexUser,
- },
- {
- path: "/userCenter",
- name: "userCenter",
- component: UserCenter,
- },
- ];
- const router = createRouter({
- history: createWebHistory(process.env.BASE_URL),
- routes,
- });
- export default router;
|