puzzle/game/templates/index.html.twig

22 lines
432 B
Twig
Raw Normal View History

2020-11-25 22:03:35 +01:00
<html>
<head>
<link rel="stylesheet" href="/style.css" />
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
</head>
<body>
<div id="app"></div>
<script type="module">
import Page from "/index.js"
new Vue({
el: '#app',
render: (h) => h(Page, {
props: {
games: {{ games|json_encode|raw }},
images: {{ images|json_encode|raw }},
},
}),
})
</script>
</body>
</html>