Mr.Shi
2023-08-21 035ea93f7bbcfcc43bcc7adbb1d0504df6065947
screen_standard/src/router/index.js
@@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import indexView from '../views/index.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
@@ -8,6 +9,11 @@
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/index',
      name: 'index',
      component: indexView
    }
  ]
})