https://github.com/sveltejs/hn.svelte.technology
Hacker News, built with Sapper
https://github.com/sveltejs/hn.svelte.technology
Last synced: about 2 months ago
JSON representation
Hacker News, built with Sapper
- Host: GitHub
- URL: https://github.com/sveltejs/hn.svelte.technology
- Owner: sveltejs
- Archived: true
- Created: 2017-12-12T16:16:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-13T07:09:30.000Z (over 6 years ago)
- Last Synced: 2024-04-14T09:04:59.416Z (over 1 year ago)
- Language: HTML
- Homepage: https://hn.svelte.technology/top/1
- Size: 316 KB
- Stars: 35
- Watchers: 4
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## DEPRECATED — see https://github.com/sveltejs/hn.svelte.dev instead
---
# sapper-hacker-news
Testing ground for [sapper](https://github.com/rich-harris/sapper), a work-in-progress app development framework based on Svelte.
```bash
yarn
yarn run dev
```
...then navigate to [localhost:3000](http://localhost:3000).
Or to run in production mode, `yarn start`.
## Lots still to do
Some of these are Svelte things, some of these are Sapper things:
* [x] Need a declarative way to set the document title on both client and server
* [x] Preloading, on server and client, to avoid the flash of unfetched content
* [x] Critical CSS
* [ ] Sapper doesn't currently watch the `routes` folder, so you have to keep restarting the server. Also, webpack only runs once
* [x] Service worker
* [x] Build optimised production version