diff --git a/vue.config.js b/vue.config.js index 6c8db8c..e8d9f08 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,7 @@ const isProd = process.env.NODE_ENV === `production` module.exports = { + lintOnSave: true, publicPath: process.env.SERVER_ENV === `NETLIFY` ? `/` : `/md/`, // 基本路径, 建议以绝对路径跟随访问目录 configureWebpack: (config) => { config.module.rules.push({