index.html 697 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <link rel="stylesheet" href="../styles.css" />
  7. <link rel="stylesheet" href="styles.css" />
  8. </head>
  9. <body>
  10. <nav>
  11. <h1><span class="index">3</span>Lists</h1>
  12. <ul>
  13. <li><a href="../lesson02">Prev</a></li>
  14. <li><a href="../lesson04">Next</a></li>
  15. </ul>
  16. </nav>
  17. <div id="root">
  18. <ul>
  19. <li v-for="name in names" v-text="name"></li>
  20. </ul>
  21. <input id="input" type="text" />
  22. <button id="button">Add name</button>
  23. </div>
  24. <script src="../lib/vue-2.1.3.js"></script>
  25. <script src="code.js"></script>
  26. </body>
  27. </html>