初始化

This commit is contained in:
陈昱达
2025-06-05 13:57:58 +08:00
commit 979fde4c85
92 changed files with 17729 additions and 0 deletions

14
src/router/index.js Normal file
View File

@@ -0,0 +1,14 @@
import Vue from 'vue'
import Router from 'vue-router'
import App from './app/index'
import generatedRouter from './generatedRouter/index'
Vue.use(Router)
const constantRouterMap = [...App, ...generatedRouter] //后续可以删减模块
export default new Router({
mode: 'hash', //路由模式
routes: constantRouterMap,
scrollBehavior: () => ({ y: 0 })
})