refactor(unocss): 迁移至@uni-helper/unocss-preset-uni预设并优化配置
- 使用@uni-helper/unocss-preset-uni替代原有小程序预设配置 - 移除unocss-applet依赖及相关自定义规则 - 更新vite配置中UnoCSS的异步导入方式 - 添加fg-*组件自动导入规则 - 更新about页面导航栏标题 - 调整package.json依赖版本 ``` 这个提交消息: 1. 使用`refactor`类型,因为这是对CSS配置体系的重构 2. 添加`unocss`作用域明确修改范围 3. 简明描述主要变更内容 4. 使用中文符合要求 5. 通过条目列出重要修改点,避免重复描述
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"easycom": {
|
||||
"autoscan": true,
|
||||
"custom": {
|
||||
"^fg-(.*)": "@/components/fg-$1/fg-$1.vue",
|
||||
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
|
||||
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
|
||||
}
|
||||
@@ -50,7 +51,8 @@
|
||||
"path": "pages/about/about",
|
||||
"type": "page",
|
||||
"style": {
|
||||
"navigationBarTitleText": "关于"
|
||||
"navigationBarTitleText": "关于",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user