vue.config.js 258B

1234567891011
  1. const path = require('path')
  2. module.exports = {
  3. publicPath: './',
  4. chainWebpack(config) {
  5. config.resolve.alias
  6. .set('@/components', path.resolve(__dirname, 'src/components/'))
  7. .set('@/utils', path.resolve(__dirname, 'src/utils/'))
  8. }
  9. }