1.0.0-beta.1 • Published 3 years ago

@vitue/cli v1.0.0-beta.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

vitue cli

@vitue/cli的作用很纯粹,就是下载vitue-scaffold组织内的 template 项目。通过vitue init可以查询到组织内所有可用的项目模版,选择对应的即可安装到本地目录。除此之外,没有其他任何功能。

@vitue/cli使用flippidippi/download-git-repo进行 github 项目的在线下载,所以请关注下网络的情况,可能会出现超时等问题。

安装

yarn add --global @vitue/cli

# npm
npm install -g @vitue/cli

使用

# Begin
$ vitue init

# Select a template
? Please select a template (Use arrow keys)
❯ vitue-admin 
  vitue-mobile 

# Enter some basic information
? Project name: test
? Project description: hello
? Author: Hejx <test@qq.com>

# Then wait for the project to download and create...

License

MIT