-V, --version output the version number -h, --help output usage information
Commands:
init generate a new project from a template list list available official templates build prototype a new project help [cmd] display helpfor [cmd]
我們等等建立vue application時會使用到listinit指令來完成。
首先先使用vue list觀看一下有哪些現成template可使用,參考如下:
1 2 3 4 5 6 7 8 9 10
λ vue list
Available official templates:
★ browserify - A full-featured Browserify + vueify setup with hot-reload, linting & unit testing. ★ browserify-simple - A simple Browserify + vueify setup for quick prototyping. ★ pwa - PWA template for vue-cli based on the webpack template ★ simple - The simplest possible Vue setup in a single HTML file ★ webpack - A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction. ★ webpack-simple - A simple Webpack + vue-loader setup for quick prototyping.