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

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

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

 

 

 

 

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2021-08-09
  • 2021-07-17
  • 2022-01-01
  • 2021-06-01
  • 2021-11-06
  • 2021-12-14
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-04-20
相关资源
相似解决方案