summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea89/website/index.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea89/website/index.kt')
-rw-r--r--src/main/kotlin/moe/nea89/website/index.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea89/website/index.kt b/src/main/kotlin/moe/nea89/website/index.kt
new file mode 100644
index 0000000..f10728a
--- /dev/null
+++ b/src/main/kotlin/moe/nea89/website/index.kt
@@ -0,0 +1,10 @@
+package moe.nea89.website
+
+import kotlinx.browser.document
+import react.dom.render
+import kotlinext.js.require
+
+fun main() {
+ require("@fontsource/comic-mono/index.css")
+ render(document.getElementById("root") ?: throw RuntimeException("Could not find root element")) { App() }
+} \ No newline at end of file