chenxi-cli
v0.1.0
Published
自制前端脚手架
Downloads
3
Readme
自製脚手架
第一个版本的功能比较简单,大致为:
- 用户输入命令,准备创建项目。
- 脚手架解析用户命令,并弹出交互语句,询问用户创建项目需要哪些功能。
- 用户选择自己需要的功能。
- 脚手架根据用户的选择创建 package.json 文件,并添加对应的依赖项。
- 脚手架根据用户的选择渲染项目模板,生成文件(例如 index.html、main.js、App.vue 等文件)。
- 执行 npm install 命令安装依赖。