vue.config.js 408 B

123456789101112131415161718192021
  1. const { defineConfig } = require('@vue/cli-service')
  2. const path = require('path')
  3. module.exports = defineConfig({
  4. publicPath: './',
  5. outputDir: 'dist',
  6. assetsDir: 'static',
  7. transpileDependencies: true,
  8. productionSourceMap: false,
  9. configureWebpack: {
  10. resolve: {
  11. alias: {
  12. '@': path.join(__dirname, 'src')
  13. }
  14. }
  15. },
  16. devServer:{
  17. open:true,
  18. },
  19. lintOnSave:false
  20. })