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