x-shell.js 1.0.0-rc.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,13 +48,20 @@ See [node-pty docs](https://github.com/microsoft/node-pty) for platform-specific
|
|
|
48
48
|
|
|
49
49
|
### Client-Side (Browser)
|
|
50
50
|
|
|
51
|
-
The
|
|
51
|
+
The UI component can be loaded directly from a CDN - no build step required:
|
|
52
52
|
|
|
53
53
|
```html
|
|
54
|
+
<!-- Using unpkg -->
|
|
54
55
|
<script type="module" src="https://unpkg.com/x-shell.js/dist/ui/browser-bundle.js"></script>
|
|
56
|
+
|
|
57
|
+
<!-- Or using jsDelivr -->
|
|
58
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x-shell.js/dist/ui/browser-bundle.js"></script>
|
|
59
|
+
|
|
60
|
+
<!-- Pin to a specific version -->
|
|
61
|
+
<script type="module" src="https://unpkg.com/x-shell.js@1.0.0-rc.1/dist/ui/browser-bundle.js"></script>
|
|
55
62
|
```
|
|
56
63
|
|
|
57
|
-
|
|
64
|
+
The bundle includes the `<x-shell-terminal>` web component with xterm.js built-in.
|
|
58
65
|
|
|
59
66
|
## Quick Start
|
|
60
67
|
|