starter-wx
v1.0.4
Published
快速创建模板
Downloads
7
Readme
starter-wx
starter-wx
是一个用于快速创建新项目的命令行工具。它提供了多种模板供你选择,包括 TypeScript、Vue 2、Vue 3 和 Nuxt 3。
安装
使用 npm 来全局安装 starter-wx
:
npm install -g starter-wx
使用1
安装完 starter-wx
后,你可以在命令行中使用 starter-wx
命令来创建新项目。运行以下命令:
starter-wx
1、然后,你会看到一个提示,让你选择一个模板。使用上下箭头键来选择一个模板,然后按回车键确认你的选择。
2、接下来,你需要输入你的项目名称。这将会是你的项目目录的名称。
3、最后,starter-wx
会开始创建你的新项目。它会从 GitHub 克隆模板,然后在你的项目目录中安装依赖。
4、创建完新项目后,你可以进入你的项目目录,然后开始编写代码:
cd <你的项目名称>
使用2
你也可以在命令行直接写明使用的模板和应用名,将会直接创建:
starter-wx ts my-app-name
反馈
如果你在使用 starter-wx
时遇到任何问题,或者有任何建议,欢迎在 GitHub 上提交 issue。