fixed:调整前端打包的base路径,适配history模式路由。
This commit is contained in:
@@ -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