1 minute read

How to Create a Vite Application?

Below are the step for creating a Vite application. Let’s get started. The command for creating a Vite app is npm create vitejs@latest new-vite-app. Once youtype this command, you’ll see the screen with different options like:

Here, new-vite-app is the name of the project. As you can see, there are a lot of template options available to create an application. Currently, we’ll go with the React framework.

Advertisement

Now it’s time to run the following commands to complete the Vite installation.

>>cd new-vite-app

>>npm install

>>npm run dev

Once you run these commands, you’ll see a URL for your Vite application.

There you go. Congratulations, you’ve made it possible.

This article is from: