![]() |
VOOZH | about |
Svelte is the new methodology for creating web apps. It can be used in a small part of a code or in an entire single page application. It is a compiler not a framework, which is faster than other JavaScript libraries like ReactJS, AngularJS, VueJS. It is used to create reactive web apps. If any change occurs in the data that change will reflect on the page instantly. It is also used in rapid application development (RAD) means quickly produce minimally coded software application. It is used in Web Optimization. But it does not use virtual DOM which makes it different from others. It is free and open source written by Rich Harris. Svelte Compiles your Code for production at execution time into vanilla JavaScript bundle. If you deploy your application over the internet then you don't need to deploy Svelte like we did other library. That's why it results in a fast execution.
Prerequisite: Before installing or start working on Svelte, we have to make sure few things are available in our system.
Installation of Svelte: Now we are ready to install the Svelte.
npm install -g degit👁 Image
degit sveltejs/template myproject👁 Image
npm install
npm run dev👁 Image