Open ChrisJefferson opened 1 year ago
Hi and thank you for trying wasm-webterm :)
Did you load it via script tag or import it as a module? If you loaded it via a script tag directly in your browser (like in Variant 1 of the Usage section in the Readme), it may work to add .default
to it:
let wasmterm = new WasmWebTerm.default("./binaries")
Did this work for you? :D
I tried copying the following line from the readme, into my HTML, to pick where binaries are read from:
But, I get the output:
I'm not a javascript expert, so sorry if this is obvious.