更换一下

This commit is contained in:
aixianling
2024-06-17 18:23:57 +08:00
parent 8008b34955
commit 89baf6b8e4

View File

@@ -2,7 +2,7 @@ import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const ctx = require.context('../views', true, /\.(\/.+)\/App[A-Z][^\/]+\.vue$/, 'lazy')
const ctx = import.meta.glob('../views/App*.vue')
const router = new VueRouter({
mode: 'history', routes: [{
path: '/', name: 'home',