1 Star 8 Fork 1

Jinggg/现场快递柜状态采集与控制系统前端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 744 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jinggg 提交于 2022-05-12 21:13 . first commit
'use strict'
const path = require('path')
function resolve(dir) {
return path.join(__dirname, dir)
}
module.exports = {
publicPath: './', //build`的时候用相对路径
outputDir: 'dist',
assetsDir: 'static',
lintOnSave: false,
productionSourceMap: false,
devServer: {
port: 8081,
open: true,
proxy: null
},
chainWebpack(config) {
// set svg-sprite-loader
config.module
.rule('svg')
.exclude.add(resolve('src/icons'))
.end()
config.module
.rule('icons')
.test(/\.svg$/)
.include.add(resolve('src/icons'))
.end()
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
.options({
symbolId: 'icon-[name]'
})
.end()
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/abyss_Jim/curriculum_design_vue.git
git@gitee.com:abyss_Jim/curriculum_design_vue.git
abyss_Jim
curriculum_design_vue
现场快递柜状态采集与控制系统前端
master

搜索帮助