Skip to content

Latest commit

 

History

History
 
 

hn.svelte.dev

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