feat(miniprogram): 按设计稿重写小程序前端界面

This commit is contained in:
stu2not
2026-09-02 15:55:48 +08:00
parent af8ddb26c6
commit 9eb3c002fb
27 changed files with 902 additions and 19 deletions
+8 -1
View File
@@ -25,8 +25,15 @@ const config = {
options: {
}
},
fontUrlLoaderOption: {
// Inline the subset so WeChat DevTools does not treat the local font URL as a network request.
limit: 500000,
},
framework: 'react',
mini: {
fontUrlLoaderOption: {
limit: 500000,
},
postcss: {
pxtransform: {
enable: true,
@@ -37,7 +44,7 @@ const config = {
url: {
enable: true,
config: {
limit: 1024 // 设定转换尺寸上限
url: 'copy'
}
},
cssModules: {