first commit
This commit is contained in:
commit
94c58e7f74
11 changed files with 604 additions and 0 deletions
10
load-app.js
Normal file
10
load-app.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import show_error from './show-error.mjs';
|
||||
async function init_app() {
|
||||
const compilation_error = await show_error;
|
||||
if(compilation_error) {
|
||||
return;
|
||||
}
|
||||
const app = Elm.App.init({node: document.body, flags: {}});
|
||||
}
|
||||
|
||||
init_app();
|
Loading…
Add table
Add a link
Reference in a new issue