This commit is contained in:
Andy Bunce 2021-12-26 16:40:51 +00:00
parent 3e53c77e20
commit ec78608a0e
1 changed files with 3 additions and 2 deletions

View File

@ -8,15 +8,16 @@
This is a test This is a test
<div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div> <div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div>
<div id="app"> <div id="app">
<button v-on:click="load">hits {{ hits }}</button> <button v-on:click="load">hits {{ hits }}</button>
<div> {{ message }}</div> <div> {{ message }}</div>
<pre>{{ json }}</pre> <pre>{{ json }}</pre>
</div>
<ul> <ul>
<li v-for="item in json"><a :href="item.href">{{ item.text }}</a></li> <li v-for="item in json"><a :href="item.href">{{ item.text }}</a></li>
</ul> </ul>
</div>
<script src="index.js"></script> <script src="index.js"></script>
</body> </body>
</html> </html>