Skip to content

1. Setup Vue CLI

Khriztian Moreno edited this page Nov 8, 2017 · 1 revision

The Vue-CLI helps you to quickly and easily setup new Vue projects. Nuxt.js is a library that helps you build server-rendered Vue.js applications. This lesson shows you how to use the nuxt/starter template with the Vue-CLI to quickly start a new project.

Intall Vue-CLI

$ npm install -g vue-cli

Usage

$ vue init <template-name> <project-name>

Using the startup template of Nuxt.js

$ vue init nuxt-community/starter-template gist-blog-ssr

then install the dependencies:

$ cd gist-blog-ssr
$ npm install

and launch the project with:

$ npm run dev

The application is now running on http://localhost:3000

To see these steps complete, you can change to the 1-setup branch in this repository.