Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue Router for Everyone

Create a new project with Vue Router using the Vue CLI UI

In this lesson, we’re learning how to create a new Vue project that includes the Vue router with the Vue CLI GUI.

If you haven’t worked with Vue CLI before, you’ll need to install it.

Install Vue CLI

Open up your terminal and type.

npm install -g @vue/cli
# OR
yarn global add @vue/cli

Open Vue CLI GUI

vue ui