摘要: 在使用 vue-cli3 build的时候,使用非子目录需要在 vue.config.js 中添加如下代码:module.exports = { baseUrl: process.env.NODE_ENV 'production' ? '/dist/' : '/', } nginx 的配置,把 40 阅读全文
posted @ 2019-09-25 15:50 羽鱼 阅读(928) 评论(0) 推荐(0) 编辑