about summary refs log tree commit diff
path: root/lib/rook_web/templates/app/entrypoint.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rook_web/templates/app/entrypoint.html.eex')
-rw-r--r--lib/rook_web/templates/app/entrypoint.html.eex5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rook_web/templates/app/entrypoint.html.eex b/lib/rook_web/templates/app/entrypoint.html.eex
new file mode 100644
index 0000000..bc7e84a
--- /dev/null
+++ b/lib/rook_web/templates/app/entrypoint.html.eex
@@ -0,0 +1,5 @@
+<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/#{@entrypoint}.css") %>"/>
+<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/#{@entrypoint}.js") %>"></script>
+<script>window.token = "<%= @token %>";</script>
+
+<div id="app"></div>