1.0.2 • Published 1 year ago
newtemplate-cli v1.0.2
English | 简体中文
feature
- Easy to use
- Support custom template addition and deletion
QuickStart
Install
$ npm i newtemplate-cli -g # install cli
$ omi init my-app # init project, you can also exec 'omi init' in an empty folder
$ cd my-app # please ignore this command if you executed 'omi init' in an empty folder
$ newtemplate-cli init [templateName] [yourProjectName]
Install description:
The default scaffolding template name is vue-admin
newtemplate-cli init vue-admin yourProjectName
New template usage
newtemplate-cli add
# Select template and template address (github address)
-Note: The template address is the git repository name. The master branch is pulled by default. If you want to specify a branch, please use owner / name # my-branch
Remove template usage
newtemplate-cli delete
# 选择模板
See all template usage
newtemplate-cli list
Initialize project scaffolding usage
newtemplate-cli init 或者 newtemplate-cli init [templateName] [yourProjectName]
Contribution
- George-Hill-Qiao