Skip to content

Files

This branch is 4182 commits behind sveltejs/kit:main.

hn.svelte.dev

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 18, 2021
Oct 20, 2021
Mar 29, 2021
Aug 18, 2021
Jul 7, 2021
Nov 15, 2020
Aug 18, 2021
Oct 18, 2021
May 4, 2021
Jul 27, 2021

hn.svelte.dev

Hacker News clone built with Svelte and SvelteKit using the hnpwa-api by David East.

Running locally

This example uses a locally built version of SvelteKit, so you'll first need to build the SvelteKit library by running the following from the SvelteKit root directory:

pnpm install
pnpm build

You can then build an run this example, which will be accessible at localhost:3000:

cd examples/hn.svelte.dev
pnpm dev

To build and start in prod mode:

pnpm build
pnpm preview