[add] vue

This commit is contained in:
Andy Bunce 2021-12-25 22:28:59 +00:00
parent aea3919d03
commit e379c4ca62
3 changed files with 91 additions and 2 deletions

View file

@ -1,9 +1,18 @@
<html>
<head>
<meta charset="utf-8" />
<title>Caddy test</title>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
This is a test
<div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div>
This is a test
<div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div>
<div id="app">
<button v-on:click="load">hits {{ hits }}</button>
<div> {{ message }}</div>
<pre>{{ json }}</pre>
</div>
<script src="index.js"></script>
</body>
</html>