mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 04:29:32 +00:00
fixed:调整前端打包的base路径,适配history模式路由。
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ export default ({
|
||||
}
|
||||
|
||||
const config = {
|
||||
base: './', // index.html文件所在位置
|
||||
base: '/', // index.html文件所在位置
|
||||
root: './', // js导入的资源路径,src
|
||||
resolve: {
|
||||
alias,
|
||||
|
||||
Reference in New Issue
Block a user