2021-12-22 13:59:13 +01:00
|
|
|
import App from './App.svelte'
|
2021-12-23 18:22:14 +01:00
|
|
|
import init_wasm_module from "planetwars-rs";
|
2021-12-22 13:59:13 +01:00
|
|
|
|
2021-12-23 19:25:56 +01:00
|
|
|
init_wasm_module().then(() => {
|
2021-12-22 13:59:13 +01:00
|
|
|
const app = new App({
|
|
|
|
target: document.getElementById('app')
|
|
|
|
})
|
2021-12-23 18:22:14 +01:00
|
|
|
})
|