Fix incorrect install urls

This commit is contained in:
Cory LaViska
2020-07-15 10:42:03 -04:00
parent 547bf8af8a
commit 406b91c075
2 changed files with 7 additions and 7 deletions

View File

@@ -9,8 +9,8 @@ The easiest way to install Shoelace is with the lazy loader via CDN. A lightweig
To install the lazy loader, add the following tags to your page.
```html
<link rel="stylesheet" href="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/shoelace.css">
<script type="module" src="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/shoelace.esm.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/shoelace/shoelace.css">
<script type="module" src="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/shoelace/shoelace.esm.js"></script>
```
Now you can [start using components!](/getting-started/usage.md)
@@ -22,9 +22,9 @@ Another way to consume the library is with the custom elements bundle. Compared
To install the custom elements bundle, add the following tags to your page.
```html
<link rel="stylesheet" href="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/shoelace.css">
<link rel="stylesheet" href="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/shoelace/shoelace.css">
<script type="module">
import { defineCustomElements } from 'https://unpkg.com/@shoelace-style/shoelace@%VERSION%/custom-elements-bundle';
import { defineCustomElements } from 'https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/custom-elements/index.mjs';
defineCustomElements();
</script>
```
@@ -55,7 +55,7 @@ Once you've done that, add the following tags to your page. Make sure to update
```html
<link rel="stylesheet" href="/assets/shoelace/shoelace.css">
<script type="module">
import { defineCustomElements } from '/assets/shoelace/custom-elements-bundle';
import { defineCustomElements } from '/assets/shoelace/dist/custom-elements/index.mjs';
defineCustomElements();
</script>
```

View File

@@ -14,8 +14,8 @@ Designed in New Hampshire by [Cory LaViska](https://twitter.com/claviska).
Add the following code to your page.
```html
<link rel="stylesheet" src="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/shoelace.css">
<script type="module" src="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/shoelace.esm.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/shoelace/shoelace.css">
<script type="module" src="https://unpkg.com/@shoelace-style/shoelace@%VERSION%/dist/shoelace/shoelace.esm.js"></script>
```
Now you have access to all of Shoelace's components! Try adding a button: