1、router配置
const router = createRouter({
history: createWebHistory('/taskManage/'),
routes: autoLoadRoutes
})
2、vite.config.js配置
base: '/taskManage',
3、nginx配置
1、router配置
const router = createRouter({
history: createWebHistory('/taskManage/'),
routes: autoLoadRoutes
})
2、vite.config.js配置
base: '/taskManage',
3、nginx配置