prepare for vue, make game run not in body, but in certain element

This commit is contained in:
Zutatensuppe 2021-05-01 08:59:39 +02:00
parent 93708f0cf0
commit b335707b7f
3 changed files with 13 additions and 7 deletions

View file

@ -1,6 +1,7 @@
<html>
<head>
<link rel="stylesheet" href="/style.css" />
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
<style type="text/css">
html,
body {
@ -13,6 +14,7 @@
<title>🧩 jigsaw.hyottoko.club</title>
</head>
<body>
<div id="app"></div>
<script>window.GAME_ID = '{{GAME_ID}}'</script>
<script>window.WS_ADDRESS = '{{WS_ADDRESS}}'</script>
<script>window.MODE = 'replay'</script>