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 } ] })