Appendix: Vue Setup on a Local Machine
Explore the step-by-step process to install Vue CLI globally, create and configure a Vue 3 application with TypeScript support, and launch a local development server. This lesson guides you through essential setup tasks including choosing project features and integrating CSS libraries.
We'll cover the following...
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.
@vue/cli 5.0.8
Here, we can see that our globally installed version of the Vue CLI is at version 5.0.8. With the CLI ...