主要是需要一个UI组件,选择使用这个 https://github.com/FirstUI/FirstUI,插件的安装方式也在上面
安装以后测试一下
https://uniapp.dcloud.net.cn/collocation/pages.html#stylehttps://doc.firstui.cn/docs/started.html
12345678910111213141516
// 下载安装时easycom配置"easycom": { "autoscan": true, "custom": { "fui-(.*)": "@/components/firstui/fui-$1/fui-$1.vue" } }// 使用npm安装时easycom配置(配置完成后重新编译运行)"easycom": { "autoscan": true, "custom": { "fui-(.*)": "firstui-uni/firstui/fui-$1/fui-$1.vue" } }
然后引用成功