forked from vhaudiquet/rhema-together
ghostty-web runs Ghostty's VT parser as WebAssembly behind an xterm-compatible API. The component keeps its lifecycle; the imports and the WASM bootstrap change. The emulator imports on demand, so the 624 KB chunk loads only when the terminal pane opens. The CSP needs wasm-unsafe-eval for WebAssembly compilation and data: in connect-src for the inlined module the library fetches. The terminal renders to a canvas, so the xterm stylesheet and FitAddon package are gone.
23 lines
453 B
JSON
23 lines
453 B
JSON
{
|
|
"name": "rhema-together-web",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "nuxt dev",
|
|
"build": "nuxt generate",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"typecheck": "nuxt typecheck"
|
|
},
|
|
"dependencies": {
|
|
"ghostty-web": "0.4.0",
|
|
"lucide-vue-next": "^1.0.0",
|
|
"nuxt": "^4.7.0",
|
|
"vue": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.9.0",
|
|
"vue-tsc": "^2.2.0"
|
|
}
|
|
}
|