uni-components
是一个 uni-app 生态下的组件库
yarn add @xyfebaby/uni-components
在 page.json 中添加配置
{
"easycom": {
"autoscan": true,
"custom": {
"^x-(.*)": "@xyfebaby/uni-components/src/components/$1/index.vue"
}
}
}
引入样式
import '@xyfebaby/uni-components/src/styles/index.scss'