Mr.Zhang
2023-08-22 e2ed556bb9331cb65daf184eed646a7295c37b51
screen_standard/src/router/index.js
@@ -1,20 +1,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),
  history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
  routes: [
    {
      path: '/',
      name: 'home',
      component: indexView
    },
    // {
    //   path: '/index',
    //   name: 'index',
    //   component: indexView
    // }
    {
      path: '/process',
      name: 'process',
      component: processView
    }
  ]
})