1 Star 0 Fork 0

史威震/eribbit-client-pc

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
vue.config.js 692 Bytes
Copy Edit Raw Blame History
const path = require('path')
module.exports = {
pluginOptions: {
'style-resources-loader': {
preProcessor: 'less',
// 哪些文件自动引入,绝对路径
patterns: [
path.join(__dirname, './src/assets/styles/variables.less'),
path.join(__dirname, './src/assets/styles/mixins.less')
]
}
},
chainWebpack: config => {
// 图片加载
config.module
.rule('images')
.use('url-loader')
.loader('url-loader')
.tap(options => Object.assign(options, { limit: 10000 }))
// 开启IP域名访问
config.devServer.disableHostCheck(true)
},
configureWebpack: {
externals: {
qc: 'QC'
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shi-weizhen/eribbit-client-pc.git
git@gitee.com:shi-weizhen/eribbit-client-pc.git
shi-weizhen
eribbit-client-pc
eribbit-client-pc
master

Search

0d507c66 1850385 C8b1a773 1850385