5

Step To Setup Sveltejs App

 2 years ago
source link: https://dev.to/darkweb907/how-to-setup-your-install-sveltejs-74f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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 modeExit 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 modeExit 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK