kongdeqiang
2023-06-09 b6218e1a65289b9c232408e9ee6247c36258a155
vue.config.js
@@ -1,8 +1,18 @@
var path = require("path")
module.exports = {
    baseUrl: './',
    configureWebpack: {
        resolve: {
            alias: {
                '@': path.join(__dirname, 'src')
            }
        }
    },
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        sockHost: 'localhost',
        disableHostCheck: true,
        proxy: {
            '/api':{
                target:'http://183.196.93.178',