安装
npm i create-bluedot -g
使用方法
bt
第一步:设置文件夹名称。
第二步:选择要创建的类型。
1> template:前端 h5 页面模版
- pure:纯页面模版。
- models:携带 models 用法的模版。
- use-request:ahooks 接口请求方式模版。
- monitor:monitor 用法模版。
2> html
- umi-h5:前端 h5 框架
- react-pc: 前端 pc 框架
3> applet
- uni-app:前端 vue 小程序框架
- taro-dva:前端 react 小程序框架(准备废弃)
4> applet-module(暂未完成)
- applet-module-activity 小程序模版(必须是使用 bt 创建的 uni-app 小程序才可以)
5> ant-design-pro:后台 cms 框架
6> django-rest-framework:后台 django 框架