Skip to content

Commit 5b1c0b8

Browse files
authored
Merge pull request #61 from empreinte-digitale/feature-unpkg-doc
Added doc on unpkg versions
2 parents dcc76ef + 11a9c72 commit 5b1c0b8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ Using Orejime 🍪 requires a few steps:
2525
The easiest way to use the lib is to include the built files directly in the browser.
2626

2727
```html
28-
<link rel="stylesheet" href="https://unpkg.com/orejime@1.2.4/dist/orejime.css" />
29-
<script src="https://unpkg.com/orejime@1.2.4/dist/orejime.js"></script>
28+
<link rel="stylesheet" href="https://unpkg.com/orejime@latest/dist/orejime.css" />
29+
<script src="https://unpkg.com/orejime@latest/dist/orejime.js"></script>
3030
```
3131

32+
If you're using this method, please avoid using the `@latest` version. Prefer a fixed one like `https://unpkg.com/orejime@2.0.1/...`.
33+
That way you can ensure you will not be impacted by a change of API or a potential bug that could land in the latest version.
34+
3235
#### Via npm
3336

3437
Orejime 🍪 is a React lib. Make sure you already installed react and react-dom, then:

0 commit comments

Comments
 (0)