Mr.Zhang
2023-08-22 9744095cc2b64e6f5cd3492abb52268afc4921bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import indexView from '../views/index.vue'
import processView from '../views/process.vue'
 
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: indexView
    },
    {
      path: '/process',
      name: 'process',
      component: processView
    }
  ]
})
 
export default router