To start our component, we can use the Vue project with Vue-CLI that we created in the 'Creating a simple route' recipe, or we can start a new one.
To start a new one, open Terminal (macOS or Linux) or Command Prompt/PowerShell (Windows) and execute the following command:
> vue create route-project
Choose the manual features and add the Router as a needed feature, as indicated in the 'How to do it...' section in the 'Creating a simple route' recipe.
Our recipe will be divided into two parts:
- Changing the application's main component
- Changing the contact view
Let's get started.