元气智驾官网前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 413 B

1 year ago
1234567891011121314151617181920212223
  1. const path = require('path')
  2. function resolve (dir) {
  3. return path.join(__dirname, dir)
  4. }
  5. module.exports = {
  6. configureWebpack: {
  7. resolve: {
  8. alias: {
  9. '@': resolve('src')
  10. }
  11. }
  12. },
  13. chainWebpack: config => {
  14. config.plugin('html')
  15. .tap(args => {
  16. args[0].title = '元汽智驾'
  17. return args
  18. })
  19. },
  20. productionSourceMap: false
  21. }