最新代码

This commit is contained in:
yiqiuyang
2025-09-10 01:35:04 +08:00
parent 80f9714845
commit fa0221032c
10 changed files with 890 additions and 52 deletions

View File

@ -1,21 +1,27 @@
import Vue from "vue";
import VueRouter from "vue-router";
import HomeView from "../views/home.vue";
import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/home.vue'
import residentAnalysis from '@/views/residentAnalysis/index.vue'
Vue.use(VueRouter);
Vue.use(VueRouter)
const routes = [
{
path: "/",
name: "home",
path: '/',
name: 'home',
component: HomeView,
},
];
{
path: '/residentAnalysis',
name: 'residentAnalysis',
component: residentAnalysis,
},
]
const router = new VueRouter({
mode: "history",
mode: 'hash',
base: process.env.BASE_URL,
routes,
});
})
export default router;
export default router