taro + react => bo-taro-ui
npm install bo-taro-ui前端 对接 taro 的小程序UI库 基于react语法
``
- config 打包配置
- dist 打包后的文件
- lib ts转译后的js
- src/
- common 公用函数
- utils.ts
- components 组件
- style 样式
- components 组件样式
- mixins scss混入
- variables scss变量
- index.scss 入口
- index.ts 入口
- types/ 类型定义文件
- components
- index.d.ts 入口
`
需要npm link 到项目中进行开发,后期尝试将demo放到库中
`本地开发
yarn dev:watch
yarn lint:fix
lint:style-fix
`
`引入单个组件的样式文件
@import "~bo-taro-ui/dist/style/components/${文件名称}.scss";
``