Mention @sveltejs/svelte-repl and add explicit instructions

pull/5163/head
Luca Bonavita 5 years ago committed by GitHub
parent 080082582a
commit 2c1c4925b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,13 +54,22 @@ To build the website, run `npm run sapper`. The output can be found in `__sapper
Tests can be run using `npm run test`. Tests can be run using `npm run test`.
## Working With Components ## Linking `@sveltejs/site-kit` and `@sveltejs/site-repl`
svelte.dev uses the package [`@sveltejs/site-kit`](https://github.com/sveltejs/site-kit) to import it's UI components This site depends on `@sveltejs/site-kit`, a collection of styles, components and icons used in common by *.svelte.dev websites, and `@sveltejs/site-repl`.
clone [`@sveltejs/site-kit`](https://github.com/sveltejs/site-kit) locally In order to work on features that depend on those packages, you need to [link](https://docs.npmjs.com/cli/link) their repositories:
[`npm-link`](https://docs.npmjs.com/cli/link) your local site-kit to `svelte/site` to see your component changes reflected locally. - `cd <somewhere>`
- `git clone https://github.com/sveltejs/site-kit`
- `git clone https://github.com/sveltejs/svelte-repl`
- `cd <somewhere>/site-kit`
- `npm link`
- `cd <somewhere>/svelte-repl`
- `npm link`
- `cd <svelte-repo>/site`
- `npm link @sveltejs/site-kit`
- `npm link @sveltejs/svelte-repl`

Loading…
Cancel
Save