Create a svelte app from scratch


I am excited about svelte, are you?. You can use the vite command to build a app indeed. It will create structure and dependencies for a regular app ?

npm init vite my-app -- --template svelte 

Svelte Kit

Wanna complete setup for a project with full configuration and route setup. Try the new Svelte Kit.

npm create svelte my-app
cd my-app
npm install
npm run dev -- --open  

Svelte Kit uses Vite build tool.

Explore the directory structure. You made it. 😂

Author: Manoj

Developer and a self-learner, love to work with Reactjs, Angular, Node, Python and C#.Net

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.