xinggevip

Vue Cli3.x 配置基础的路径
vue.config.jsmodule.exports = { baseUrl:'/', //根路径 ...
扫描右侧二维码阅读全文
21
2019/05

Vue Cli3.x 配置基础的路径

vue.config.js

module.exports = {
    baseUrl:'/', //根路径
    //outputDir:'dist'    //构建输出目录
    assetsDir:'assets',    //静态资源目录
    lintOnSave: false,      //是否开启eslint保存检测,有效值:true || false || 'error'开启后语法要求很严谨
};
Last modification:May 21st, 2019 at 09:26 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment