create blog posts from markdown files

This commit is contained in:
Rich Harris
2018-07-27 14:28:32 -04:00
parent 29e6481559
commit 0fa6c9f7d7
10 changed files with 129 additions and 98 deletions

15
posts/what-is-sapper.md Normal file
View File

@@ -0,0 +1,15 @@
---
title: What is Sapper?
pubdate: 2018-07-22
---
First, you have to know what [Svelte](https://svelte.technology) is. Svelte is a UI framework with a bold new idea: rather than providing a library that you write code with (like React or Vue, for example), it's a compiler that turns your components into highly optimized vanilla JavaScript. If you haven't already read the [introductory blog post](https://svelte.technology/blog/frameworks-without-the-framework), you should!
Sapper is a Next.js-style framework ([more on that here](blog/how-is-sapper-different-from-next)) built around Svelte. It makes it embarrassingly easy to create extremely high performance web apps. Out of the box, you get:
* Code-splitting, dynamic imports and hot module replacement, powered by webpack
* Server-side rendering (SSR) with client-side hydration
* Service worker for offline support, and all the PWA bells and whistles
* The nicest development experience you've ever had, or your money back
It's implemented as Express middleware. Everything is set up and waiting for you to get started, but you keep complete control over the server, service worker, webpack config and everything else, so it's as flexible as you need it to be.