1234567891011121314151617181920212223242526272829303132 |
-
-
-
-
- const path = require('path')
- const resolve = dir => path.join(__dirname, dir)
-
-
- module.exports = {
-
- devServer: {
- proxy: {
- '/api': {
- target: "http://192.168.89.147:9000/",
-
- changeOrigin: true,
-
-
-
-
- },
- },
-
-
- },
- lintOnSave: false,
- publicPath: "./",
- runtimeCompiler: true,
- chainWebpack: config => {
- config.resolve.alias.set("@", resolve("src"));
- }
- }
|