vue.config.js 378 B

1234567891011121314151617181920
  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. configureWebpack: {
  9. resolve: {
  10. alias: {
  11. '@': path.join(__dirname, 'src')
  12. }
  13. }
  14. },
  15. devServer:{
  16. open:true,
  17. },
  18. lintOnSave:false
  19. })