A Vue scaffold.
npm install hht-cli -g
Open your terminal and type hht or hht -h , you'll see the help infomation below:
Usage: hht <command>
Commands:
add Add a new template
delete Delete a template
list List all the templates
init Generate a new project
Options:
-h, --help output usage information
-V, --version output the version number
Note that if you are using
MacOS,sudowas required while using commandsaddanddelete.
- hht list (Show all templates)
{
'vue2': 'haohaitao/vue-easy-template#main',
'mobile-vue2': 'haohaitao/vue-h5-template#vue-h5-template',
'uniapp': 'haohaitao/vue-uniapp-template#master'
}
- hht init vue2 test (Initialize a vue2 template named test)
- Wait for completion
MIT.