Svelte makes working with apps really simple. It brings the clarity of Vue but adds even more simplicity in the way components are created and used.
For one of the demos I just wanted to showcase what the simplicity translates into for a simple website that shows “quote of the day” but also needs to provide a “SPA experience” - completely off the script.
All I did was to start the app -
That will take care of creating the project, installing <100 packages, and opening the project in VSCode.
Next, I just copy and paste the below lines in
And, lo and behold -
This is the simplest API app that I could think of “on the fly”. It was good enough to demonstrate how simple, light-weight and quick Svelte can be.