0.1.2 • Published 1 year ago

vvt-cli v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

vvt-cli

vue项目创建工具

使用说明

  1. vc -v 查看版本
  2. vc c app-name 创建项目
  3. vc c app-name --t vvte //可选,模板类型,vvt:专题、vvte:后台,默认vvt
  4. vc c app-name --p yarn //可选,包管理器,npm、yarn、pnpm,默认npm
  5. 组合使用示例:vc c name --t vvte --p yarn

注意事项

  1. 默认创建专题项目,后台项目请使用--t
  2. 默认使用npm包管理工具,切换其他请使用--p
  3. 初始化装包可能会失败,因为使用了husky,请将项目加入git版本管理后,再执行装包操作

添加git版本管理

git init

git add .

git commit -m 'init'

git remote add origin 远程仓库地址

git push origin master