修改页面nginx代理打不开的bug

This commit is contained in:
chenxin 2023-09-07 17:35:36 +08:00
parent efc4854a8c
commit b57e430458

View File

@ -6,7 +6,7 @@ function resolve (dir) {
// vue.config.js // vue.config.js
module.exports = { module.exports = {
// baseUrl: "./", // baseUrl: "./",
publicPath: '/' , publicPath: './' ,
outputDir: "dist", outputDir: "dist",
assetsDir: "assets", assetsDir: "assets",
indexPath: "index.html", indexPath: "index.html",