对接接口

This commit is contained in:
2021-11-03 21:02:22 +08:00
parent 411ecf4c05
commit c5c2f661a0
71 changed files with 5436 additions and 145 deletions
+15 -2
View File
@@ -1,17 +1,30 @@
module.exports = {
publicPath: '/wap/',
outputDir: 'wap',
devServer: {
disableHostCheck: true,
// https:true,
disableHostCheck: false,
proxy: {
'/api': {
target: process.env.VUE_APP_HOST
target: process.env.VUE_APP_HOST,
changeOrigin: true
}
}
},
chainWebpack: config => {
const oneOfsMap = config.module.rule('scss').oneOfs.store;
oneOfsMap.forEach(item => {
item.use('sass-resources-loader').loader('sass-resources-loader').options({
resources: './src/assets/scss/common.scss'
}).end();
})
},
css: {
loaderOptions: {
scss: {
data: null,
},
postcss: {
plugins: [