From 7b2f948d4f41cbb2f241ab9bf57597e2b6515730 Mon Sep 17 00:00:00 2001 From: "Adam.Gong" Date: Wed, 6 May 2020 21:02:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E7=9D=80=E5=81=9A=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E7=BD=91=E7=BB=9C=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vue.config.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/vue.config.js diff --git a/src/vue.config.js b/src/vue.config.js new file mode 100644 index 0000000..131bc91 --- /dev/null +++ b/src/vue.config.js @@ -0,0 +1,17 @@ +// const webpackApiMocker = require('mocker-api') + +// module.exports = { +// devServer: { +// before(app) { +// webpackApiMocker(app, path.resolve('./mock/index.js')) +// }, +// proxy: { +// '/app/prod/list': { +// target: 'https://api.glass.xiuyetang.com/', +// pathRewrite: { +// '^/app': '' +// } +// } +// }, +// } +// } \ No newline at end of file -- 2.0.0