Projects
View on GitHub
NervJS/taro-ui-demo
NervJS/taro-ui-demo has 293 GitHub stars and 73 forks. Star changes are not measured yet. Last checked 2026-11-18 09:58 UTC. Last push 2021-04-09.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
非 Taro UI 官网示例代码
Developer ToolsREADME.md
OriginalTaro UI Demo
使用 Taro UI 的示例
该仓库不是 Taro UI 示例小程序的源码,源码请查看 https://github.com/NervJS/taro-ui/blob/dev/src/app.js
相关链接
安装
需要安装 Taro 开发工具 @tarojs/cli
npm install -g @tarojs/cli
下载项目并安装依赖
git clone https://github.com/NervJS/taro-ui-demo
cd taro-ui-demo
npm i
编译并预览
进入项目目录开始开发,可以选择小程序预览模式,或者 h5 预览模式,若使用微信小程序预览模式,则需要自行下载并打开微信开发者工具,选择预览项目根目录。
微信小程序编译预览模式
# npm script
$ npm run dev:weapp
# 仅限全局安装
$ taro build --type weapp --watch
# npx用户也可以使用
$ npx taro build --type weapp --watch
H5 编译预览模式
# npm script
$ npm run dev:h5
# 仅限全局安装
$ taro build --type h5 --watch
# npx用户也可以使用
$ npx taro build --type h5 --watch
License
MIT