fixed:调整前端打包的base路径,适配history模式路由。
This commit is contained in:
parent
a21d2a591e
commit
d0393c4e9f
|
@ -50,7 +50,7 @@ export default ({
|
|||
}
|
||||
|
||||
const config = {
|
||||
base: './', // index.html文件所在位置
|
||||
base: '/', // index.html文件所在位置
|
||||
root: './', // js导入的资源路径,src
|
||||
resolve: {
|
||||
alias,
|
||||
|
|
Loading…
Reference in New Issue