Skip to content

Commit

Permalink
chore: add type="module" to cdn example
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrinslzx committed Feb 8, 2021
1 parent e259120 commit 8f2ce34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export const encryptStorage = EncryptStorage('secret_key', options);

### CDN (unpkg.com)
```html
<script>
<!-- `type="module"` is required to use imports -->
<script type="module">
// get latest version of package at npm
import { EncryptStorage } from 'https://unpkg.com/encrypt-storage/dist/index.js'
Expand Down

0 comments on commit 8f2ce34

Please sign in to comment.