DEV Community

Cover image for Step To Setup Sveltejs App
darkweb907
darkweb907

Posted on

5 2

Step To Setup Sveltejs App

what is svelte

Svelte is a compiler used for creating reactive web app and interfaces. it can be used for creating a small part of a site or simple page application (S.P.A). svelte Is not a framework but a compiler.

How to install svelte

-first step Is to know HTML, CSS, JAVASCRIPT, and install Nodejs (you don't need to have any knowledge on Nodejs. it is just to use npm.)
-open the terminal(c.m.d) and type.

 "npm -g install degit";
Enter fullscreen mode Exit fullscreen mode


Degit helps to clone the latest commit from a GitHub
-Degit helps to grab the svelte template from the GitHub repo by typing

"degit sveltejs/template my myproject";
Enter fullscreen mode Exit fullscreen mode


N.b: myproject is the name I give my project so you can name it anything.
After it installs run on text-editor.

Why I Choose Sveltejs.

As a self-learner i found react difficult so someone gave me advice to learn svelte that It will make react easy. I am now in love with it even if it's my first framework. i went through my react tutorial and it's becoming easy thanks very much @htmleverything . You can also try it for those who find react difficult and I promise you that you will not regret it. I shall share more to you guys on my journey on sveltjs.
Follow me on Twitter for more.

Neon image

Set up a Neon project in seconds and connect from a Next.js application ⚡

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Get started →

Top comments (0)

Neon image

Next.js applications: Set up a Neon project in seconds

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Get started →

👋 Kindness is contagious

Dive into this thoughtful article, cherished within the supportive DEV Community. Coders of every background are encouraged to share and grow our collective expertise.

A genuine "thank you" can brighten someone’s day—drop your appreciation in the comments below!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found value here? A quick thank you to the author makes a big difference.

Okay