about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorana <ana@ana.st>2021-08-08 13:51:05 +0200
committerana <ana@ana.st>2021-08-08 13:51:05 +0200
commitf331da02a0bc3cc5d3f9a6ece466db5531e316ef (patch)
treef238709fe919a035936645733ee38ea8f27b65e0 /src
parent70829a62398e862ce70cc64bbf3750fc72f21e1b (diff)
downloadeureka-marks-f331da02a0bc3cc5d3f9a6ece466db5531e316ef.tar.gz
feat: initial svelte setup
Diffstat (limited to 'src')
-rw-r--r--src/App.svelte7
-rw-r--r--src/index.js7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/App.svelte b/src/App.svelte
new file mode 100644
index 0000000..a273fcc
--- /dev/null
+++ b/src/App.svelte
@@ -0,0 +1,7 @@
+<script></script>
+
+<div class="app">
+  <h2>Level: <input type="number" min="1" max="60" /></h2>
+</div>
+
+<style></style>
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 0000000..1da4f5c
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,7 @@
+import App from "./App.svelte";
+
+let app = new App({
+  target: document.body,
+});
+
+export default App;