Skip to content

gaowei1012/qwd-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

快速创建项目脚手架

已实现脚手架功能

  • 使用 antd-admin 创建脚项目
  • 使用移动端 react native 快速创建项目
  • 开发区块,添加常见业务区块

计划功能

  • 添加快速开发小程序(h5)项目架构

安装

  npm i -g qwd-cli

更新

  npm update qwd-cli

创建项目

  qwd create

  # 选择项目
  ? 请选择项目模板? (Use arrow keys)
  ❯ antd-react-template
  react-native-template

创建区块

  qwd block

  # 在项目下对应位置,选择区块
  ? 请选择所创建区块! (Use arrow keys)
  ❯ antd-form-block
  antd-modal-block

使用 npx 创建项目

  # 或者使用npx,前提是你的node要比较新
  npx qwd-cli create

  # 在项目下对应位置,选择区块
  npx qwd-cli block