Improve custom elements installation instructions

pull/130/head
Cory LaViska 2020-07-20 12:58:56 -04:00
rodzic aaa9187b84
commit 61f06ca148
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -36,6 +36,12 @@ Once you've done that, add the following tags to your page. Make sure to update
A [custom elements bundle](https://stenciljs.com/docs/custom-elements) is also exposed so you can import components and register them individually. This is a flexible alternative to the lazy loading approach described above.
Install Shoelace locally with the following command.
```sh
npm install @shoelace-style/shoelace
```
To import a single Shoelace component, use this syntax.
```js