Vue CLI Project Setup

Demonstrate how to set up a new Vue.js 3 project using Vue CLI including the installation of essential plugins like Vue Router and Vuex for state management.
npm install -g @vue/cli
Install the Vue CLI globally using npm.
vue create my-vue-project
Create a new Vue project using the Vue CLI. Replace 'my-vue-project' with your desired project name.
cd my-vue-project
Navigate into your newly created Vue project directory.
vue add router
Add Vue Router to your project by using the Vue CLI plugin installation command.
vue add vuex
Add Vuex to your project using a similar Vue CLI plugin installation command to manage the application state.
npm run serve
Serve the application locally for development at http://localhost:8080/ by default.