使用yeoman打造自己的项目脚手架

npm install yo -g
npm install  generator-eb -g

# 使用方式
yo eb

# 输入项目名称
# 选择模板类型  pc端|手机端

文件操作