Svelte offers an excellent environment for developing lightweight vanilla JavaScript applications.
This demo shows that you can build a working site:
- Load a list of curated places you've added to an Alpaca collection 🌍 🌎 🌏
- Add/Remove/View items from an itinerary 🔨 🔧 🚀
- Network calls using GraphQL to only fetch the data needed ✉️ 🚤
- Lightweight ~10KB total for app and dependencies 🎒
Clone this demo down, and you can then run the following command:
npm install
npm run dev
Once started, visit http://localhost:5000 in your browser to interact with an example site.