Skip to content

Vue Cli

David Graham edited this page Dec 21, 2017 · 12 revisions

Install Vue Cli

$ sudo npm install -g vue-cli  # Install vue-cli globally.
$ vue init pwa example-vue-project # Init a project based on PWA template.

Note: If you've already installed the cli before and when you init a new project you get the message: A newer version of vue-cli is available, then ctrl+c at the prompt and then: sudo npm install vue-cli -g to update (re-install) vue-cli to the latest version.

Clone this wiki locally