DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,673 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Step To Setup Sveltejs App
darkweb907
darkweb907

Posted on

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.

Top comments (0)

In defense of the modern web

I expect I'll annoy everyone with this post: the anti-JavaScript crusaders, justly aghast at how much of the stuff we slather onto modern websites; the people arguing the web is a broken platform for interactive applications anyway and we should start over;

React users; the old guard with their artisanal JS and hand authored HTML; and Tom MacWright, someone I've admired from afar since I first became aware of his work on Mapbox many years ago. But I guess that's the price of having opinions.