uniapp-ui-libs
Skill0 starsChanged 18 days agoMITView on GitHub
uni-ui 与 uView Plus(uview-plus)组件库的安装、easycom 按需引入、主题定制与常见坑。使用 uni-ui / uView 组件时使用。
- Installs packages
In this repository11 other files it gives its agents.
- pinia-storeSkill
- release-checklistSkill
- uniapp-cross-platformSkill
- uniapp-loginSkill
- uniapp-paymentSkill
- uniapp-performanceSkill
- uniapp-permissionsSkill
- uniapp-project-structureSkill
- uniapp-requestSkill
- uniapp-subpackagesSkill
- vue3-compositionSkill
The file
Files
uni-ui / uView Plus 使用
uni-ui(官方,推荐优先)
npm i @dcloudio/uni-ui,pages.json 配 easycom:
"easycom": { "autoscan": true, "custom": { "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" } }- 常用:
uni-forms(表单校验)、uni-popup、uni-list、uni-data-select、uni-load-more、uni-icons。 uni-forms校验:rules+ref.validate(),每个字段uni-forms-item必须带name。
uView Plus(Vue3 版 uView,uview-plus)
npm i uview-plus dayjs clipboard;main.tsapp.use(uviewPlus);uni.scss@import 'uview-plus/theme.scss';App.vue<style lang="scss">@import 'uview-plus/index.scss';</style>。- easycom:
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue", "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"。 - 注意:uView 1.x/2.x 只支持 Vue2,Vue3 项目必须用 uview-plus;不要两个库的同名组件混用。
通用
- 只用一个主组件库,另一个只补缺;不要全量注册。
- 主题色统一放
uni.scss变量;暗色模式用 CSS 变量。 - 版本以官方文档为准,升级前看 changelog。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

