An Interest In:
Web News this Week
- April 29, 2024
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
April 1, 2023 12:38 pm GMT
Original Link: https://dev.to/owais11art/how-to-create-a-vue-project-using-vite-3c02
How to create a vue project using vite
In this article we will see how to create a vue app using vite.
First install vite
npm install vite
To create vue app using vite type below command in terminal and press Enter
npm init vite <project-name>
After the above command we will be prompted with few questions like which framework we want to use and we will choose vue and which language JavaScript or TypeScript.
When vite completes creating vue project for us then we have to install all the dependencies for our project using below command
npm install
With that we have created our vue app using vite.
To run our project locally:
npm run dev // starts development server at localhost/5173
Original Link: https://dev.to/owais11art/how-to-create-a-vue-project-using-vite-3c02
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To