https://cli.vuejs.org/guide/creating-a-project.html

https://github.com/vuejs/create-vue

 

To create:

npm create vue@latest

 

To Run:

npm run dev

 

Fix if any issues:

npm install vite --save-dev

 

Project folders created:

projects.png

 

Add Vue Router:

https://router.vuejs.org/guide/
https://router.vuejs.org/installation.html

npm install vue-router@4

With Router selected during npm vue create@latest
router.png