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