mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
feat: 正式开源vue2客户端
This commit is contained in:
20
Vue2/vue.config.js
Normal file
20
Vue2/vue.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const path = require('path')
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '/', dir)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
runtimeCompiler:true,
|
||||
configureWebpack: {
|
||||
devtool: 'source-map'
|
||||
},
|
||||
productionSourceMap: false,
|
||||
lintOnSave: process.env.NODE_ENV !== 'production',
|
||||
devServer: {
|
||||
port: 1803, // 端口
|
||||
overlay: {
|
||||
warnings: true,
|
||||
errors: false
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user