diff options
Diffstat (limited to 'web/pw-frontend/src/main.ts')
-rw-r--r-- | web/pw-frontend/src/main.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/web/pw-frontend/src/main.ts b/web/pw-frontend/src/main.ts new file mode 100644 index 0000000..eb9e5a0 --- /dev/null +++ b/web/pw-frontend/src/main.ts @@ -0,0 +1,9 @@ +import App from './App.svelte' +import load_wasm_module from "planetwars-rs"; + +load_wasm_module().then(() => { + const app = new App({ + target: document.getElementById('app') + }) +}); + |