Vue 自定义编译打包路径

 

在 vue.config.js 文件下添加 outputDir 配置项:

module.exports = {
  outputDir:"my_target_direct",
  // others configs
};

如果 vue.config.js 文件不存在,则可以在项目的跟目录下新建一个,然后再添加如上配置。

 

 

 

 

posted @ 2019-09-19 21:49  (•̀ω•́)y  阅读(758)  评论(0编辑  收藏  举报