The chef cli is a project scaffold/template manager based on github
- use npm
npm i -g chef-cli - use yarn
yarn install -g chef-cliThe chef cli default registry is chef-template. You can use the chef-template repos. If you have better solution for web development, please tell us.
- set registry
chef config set registry https://github.com/{owner}/ - get registry
chef config get registry- delete registry
When delete the config registry, the default registry is chef-template
chef config delete registrythe version equal to the github repo tag version.
chef install vue-component // default install latest tag
chef install vue-component@latest // install latest tag
chef install vue-component@1.1.2
// alias
chef i vue-componentchef init vue-component your-project view the list of all installed project templates, check the version
chef outdateuninstall the template
chef uninstall vue-componentupdate the template to the latest
chef update vue-component