123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import Vue from 'vue'
- import VueRouter from 'vue-router'
- import Index from '../views/Index.vue'
- Vue.use(VueRouter)
- const routes = [{
- path: '/',
- name: 'home',
- redirect: '/index'
- },
- {
- path: '/index',
- name: 'index',
- component: Index
- },
- {
- path: '/about',
- name: 'About',
- component: () => import('../views/About.vue')
- },
- {
- path: '/point',
- name: 'point',
- component: () => import('../views/point.vue')
- },
- {
- path: '/FanStatusQueryExport',
- name: 'FanStatusQueryExport',
- component: () => import('../views/FanStatusQueryExport/FanStatusQueryExport.vue')
- },
- {
- path: '/gradeEvaluation',
- name: 'gradeEvaluation',
- component: () => import('../views/gradeEvaluation/GradeEvaluation.vue')
- }
- ]
- const router = new VueRouter({
- mode: 'hash',
- base: process.env.BASE_URL,
- routes
- })
- export default router
|