修改资源路径和路由前缀

This commit is contained in:
luofei 2024-04-25 16:25:02 +08:00
parent 4402debfff
commit abbb4d1c43
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
// +----------------------------------------------------------------------
module.exports = {
// 路由前缀
roterPre: '/',
roterPre: '/admin',
// 路由标题
title: '惠农生活 - 平台端',

View File

@ -24,7 +24,7 @@ module.exports = {
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: '/',
publicPath: '/admin',
outputDir: 'dist',
assetsDir: 'static',
indexPath: 'index.html',