github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/ui/vue.config.js (about)

     1  const path = require('path');
     2  
     3  function resolve(dir) {
     4      return path.join(__dirname, dir)
     5  }
     6  
     7  module.exports = {
     8      // productionSourceMap: false,
     9      publicPath: '',
    10  
    11      chainWebpack: (config) => {
    12          config.resolve.alias
    13              .set('@', resolve('./src'))
    14          // .set('components',resolve('./src/components'))
    15      }
    16  }