use vue 3, prepare split new game and index view

This commit is contained in:
Zutatensuppe 2021-05-13 16:23:05 +02:00
parent 4d8012dc33
commit be79935bca
5 changed files with 23 additions and 16 deletions

View file

@ -1,14 +1,15 @@
<html>
<head>
<link rel="stylesheet" href="/style.css" />
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
<script src="https://unpkg.com/vue@3.0.11"></script>
<title>🧩 jigsaw.hyottoko.club</title>
</head>
<body>
<div id="app"></div>
<script type="module">
import Index from "/views/Index.vue.js"
new Vue({ el: '#app', render: (h) => h(Index) })
const app = Vue.createApp(Index)
app.mount('#app')
</script>
</body>
</html>