What is Sapper?
Sapper is a framework for building extremely high-performance web apps. There are two basic concepts:
- Each page of your app is a svelte component.
- You create pages by adding files to the
src/routes
directory of your project. These will be server-rendered so that a user’s first visit to your app is as fast as possible, then a client-side app takes over.
In war, the soldiers who build bridges, repair roads, clear minefields and conduct demolitions — all under combat conditions — are known as sappers.
Why Sapper?
TODO
How to use Sapper?
The easiest way to start building a Sapper app is as following:
$ npx degit "sveltejs/sapper-template#rollup" my-app
$ cd my-app
$ npm install
$ npm run dev
REF
- Sapper - The next small thing in web development
- Sapper: Towards the ideal web app framework, by Rich Harris, 2017/12/31