To create more complex Single-Page Applications, it is recommended to use a few tools to ease the development. In this section, we will install them to have a good development environment ready. You need to have both Node.js and npm installed on your computer. Ensure that you have at least Node 8.x, but the latest Node version is recommended.
Setting up our development environment
Installing vue-cli, the official command-line tool
The first package we will need is vue-cli, which is a command-line tool that will help us create Vue applications:
- Enter this command in the terminal, and it will install vue-cli and save it as a global package:
npm install -g vue-cli
You may need to run this command as an administrator.
...