Skip to content

Commit 15272d0

Browse files
authored
chore: update readme
1 parent f92a4a0 commit 15272d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A Web Component to visualize JSON data in a tree view
3131
The package contains a bundled version of the component which includes also the Lit library. It can be useful in case you want to import the package using a CDN.
3232

3333
```html
34-
<script src="https://unpkg.com/@alenaksu/json-viewer@2.0.0/dist/json-viewer.bundle.js"></script>
34+
<script src="https://unpkg.com/@alenaksu/json-viewer@2.1.0/dist/json-viewer.bundle.js"></script>
3535
```
3636

3737
### From NPM
@@ -52,7 +52,7 @@ import '@alenaksu/json-viewer';
5252
If you want to extend the component or if you just need to use it in scoped registries with a different tag name, then you can import the component class from the package:
5353

5454
```js
55-
import { JsonViewer } '@alenaksu/json-viewer/dist/JsonViewer.js';
55+
import { JsonViewer } '@alenaksu/json-viewer/JsonViewer.js';
5656

5757
class MyJsonViewer extends JsonViewer {
5858
...

0 commit comments

Comments
 (0)