aboutsummaryrefslogtreecommitdiff
path: root/priv/templates/entry-with-start.mjs
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-03-17 17:10:46 +0000
committerHayleigh Thompson <me@hayleigh.dev>2024-03-17 17:10:46 +0000
commitc67f11499310e874ac07844cabf4f05719da8aed (patch)
tree61178c79be2d8e6f4daf1d6b9df685e24c306e52 /priv/templates/entry-with-start.mjs
parenteb73e7622252e130095d41c0e901feba48ecfaf7 (diff)
downloadlustre-c67f11499310e874ac07844cabf4f05719da8aed.tar.gz
lustre-c67f11499310e874ac07844cabf4f05719da8aed.zip
:recycle: Use external templates for generated files.
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);