From 988837b3fbffb8abea06dcb875f5746b9fce3c57 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 20 二月 2025 18:22:20 +0800 Subject: [PATCH] fix: 页面 --- apps/taro/config/index.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js index 0e17760..af0023b 100644 --- a/apps/taro/config/index.js +++ b/apps/taro/config/index.js @@ -24,6 +24,12 @@ }, alias: { '@': path.resolve(__dirname, '..', 'src'), + '@life-payment/components': path.resolve( + __dirname, + '..', + 'node_modules', + '@life-payment/components' + ), }, sourceRoot: 'src', outputRoot: `dist/${process.env.TARO_ENV}`, @@ -187,6 +193,9 @@ h5: { publicPath: '/', staticDirectory: 'static', + router: { + mode: 'browser', + }, postcss: { autoprefixer: { enable: true, -- Gitblit v1.9.1