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