Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobicloudvision committed Apr 22, 2024
1 parent 71b9af4 commit d9e474e
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
45 changes: 45 additions & 0 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"vite": "^4.0.0"
},
"dependencies": {
"@xterm/addon-canvas": "^0.7.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-search": "^0.15.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/addon-webgl": "^0.18.0",
"@xterm/xterm": "^5.5.0"
}
}
2 changes: 2 additions & 0 deletions web/resources/js/app.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import './bootstrap';

import { Terminal } from '@xterm/xterm';
4 changes: 1 addition & 3 deletions web/resources/views/filament/pages/terminal.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<x-filament-panels::page>

<div>
<link rel="stylesheet" href="node_modules/@xterm/xterm/css/xterm.css" />
<script src="node_modules/@xterm/xterm/lib/xterm.js"></script>


<div id="js-web-terminal"></div>

<script>
const terminal = new Terminal();
Expand Down

0 comments on commit d9e474e

Please sign in to comment.