1 Star 0 Fork 466

stephenAlan/renren-ui

forked from 人人开源/renren-ui 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
vue.config.js 493 Bytes
Copy Edit Raw Blame History
独孤求胜 authored 2022-05-02 15:29 . commit
/**
* 配置参考: https://cli.vuejs.org/zh/config/
*/
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
chainWebpack: config => {
const svgRule = config.module.rule('svg')
svgRule.uses.clear()
svgRule
.test(/\.svg$/)
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
},
productionSourceMap: false,
devServer: {
open: true,
port: 8001,
overlay: {
errors: true,
warnings: true
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/vaynn/renren-ui.git
git@gitee.com:vaynn/renren-ui.git
vaynn
renren-ui
renren-ui
master

Search