From 080082582a60531d261874c925903410e2a78554 Mon Sep 17 00:00:00 2001 From: Benjamin Schachter Date: Fri, 17 Jul 2020 17:13:34 -0400 Subject: [PATCH] update: README.md with how to work with components --- site/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/site/README.md b/site/README.md index 64ae22f9a8..83d08a881b 100644 --- a/site/README.md +++ b/site/README.md @@ -53,6 +53,17 @@ To build the website, run `npm run sapper`. The output can be found in `__sapper Tests can be run using `npm run test`. + +## Working With Components + +svelte.dev uses the package [`@sveltejs/site-kit`](https://github.com/sveltejs/site-kit) to import it's UI components + +clone [`@sveltejs/site-kit`](https://github.com/sveltejs/site-kit) locally + +[`npm-link`](https://docs.npmjs.com/cli/link) your local site-kit to `svelte/site` to see your component changes reflected locally. + + + ## Translating the API docs Anchors are automatically generated using headings in the documentation and by default (for the english language) they are latinised to make sure the URL is always conforming to RFC3986.