zhaojs
2023-04-27 0ae224b305087a8d1be405445d06621a07f78bbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// vue.config.js
module.exports = {
    publicPath: "",
    outputDir: "dist",
    assetsDir: "static/lipin",
    runtimeCompiler: true,
    productionSourceMap: false,
    devServer: {
        open: true,
        host: devHost,
        // port: devPort,
        https: false,
        hotOnly: false,
        proxy: {
            '/dkapi/': {
                target: 'https://h.ushopvip.com/',
                changeOrigin: true,
                pathRewrite: {
                    '^/dkapi': ''
                }
            }
        },
    }
}