aboutsummaryrefslogtreecommitdiff
path: root/priv/templates/entry-with-start.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/entry-with-start.mjs')
-rw-r--r--priv/templates/entry-with-start.mjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/priv/templates/entry-with-start.mjs b/priv/templates/entry-with-start.mjs
new file mode 100644
index 0000000..785cf0f
--- /dev/null
+++ b/priv/templates/entry-with-start.mjs
@@ -0,0 +1,4 @@
+import { start } from "../dev/javascript/lustre/lustre.mjs";
+import { main } from "../dev/javascript/{app_name}/{app_name}.mjs";
+
+start(main(), "#app", undefined);