vue打包设置vue.config.js

//vue.config.js
const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, // 关闭eslint检查
  assetsDir: 'static', // 静态资源目录
  parallel: false, // 关闭并行构建
  publicPath: './'// 公共路径
});

猜你喜欢

转载自blog.csdn.net/apple_70049717/article/details/141384913