How to Set Up Svelte Locally
Discover how to set up a new Svelte project locally using the create-vite command. Learn to install necessary dependencies, run the development server, and build your project for production. This lesson guides you through initializing your reactive app environment step-by-step.
We'll cover the following...
We'll cover the following...
How to set up the project
In order to set up a brand new Svelte project in our local environment, we're going to use the create-vite command. To create a new Svelte project, type the following into your terminal:
This will create a new folder called svelte-students ...