vue.config.js 277 B

123456789101112
  1. console.log(111111111111111)
  2. var path = require('path')
  3. function resolve(dir) {
  4. return path.join(__dirname, dir)
  5. }
  6. module.exports = {
  7. lintOnSave: false,
  8. chainWebpack: config => {
  9. config.resolve.alias.set('~', resolve('src/core')) //设置别名
  10. }
  11. }