Appendix: Vue Setup on a Local Machine
Learn how to set up a Vue development environment on a local machine.
We'll cover the following...
Vue setup
We can install the Vue CLI globally as follows:
npm install -g @vue/cli
Here, we are using npm
to install the Vue CLI and making it available globally with the -g
flag. Once it’s installed, we can check the version of the Vue CLI as follows:
vue -v
Here, we are invoking the Vue CLI, which is simply called vue
, and using the -V
flag to retrieve the currently installed version.