mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-22 06:40:43 +08:00
22 lines
421 B
JavaScript
22 lines
421 B
JavaScript
// vue.config.js
|
|
const path = require('path');
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
function resolve(dir) {
|
|
return path.join(__dirname, dir)
|
|
}
|
|
|
|
module.exports = {
|
|
devServer: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:10000',
|
|
}
|
|
},
|
|
},
|
|
productionSourceMap: false,
|
|
runtimeCompiler: true,
|
|
filenameHashing: false,
|
|
publicPath: '',
|
|
}
|