From ab5a37627e23433ff184755c79ae264399bb5366 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 24 二月 2025 16:08:58 +0800 Subject: [PATCH] feat: 订单 --- apps/taro/config/index.js | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js index af0023b..c2239e3 100644 --- a/apps/taro/config/index.js +++ b/apps/taro/config/index.js @@ -196,6 +196,14 @@ router: { mode: 'browser', }, + devServer: { + proxy: { + '/api': { + target: 'http://localhost:57190', // 鐩爣鏈嶅姟鍣ㄥ湴鍧� + changeOrigin: true, + }, + }, + }, postcss: { autoprefixer: { enable: true, @@ -215,6 +223,9 @@ }, }, }, + // htmlPluginOption: { + // favicon: './logo-v.png', + // }, webpackChain(chain, webpack) { chain.plugin('unplugin-auto-import').use( AutoImport({ -- Gitblit v1.9.1