index.html 638 B

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html lang="en"
  3. xmlns:v-on="http://www.w3.org/1999/xhtml"
  4. xmlns:v-bind="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>Title</title>
  8. <link rel="stylesheet" href="styles.css" />
  9. </head>
  10. <body>
  11. <div id="root">
  12. <h1>Vue 2 step by step</h1>
  13. <p>From <a href="https://laracasts.com/series/learn-vue-2-step-by-step">Laracasts</a></p>
  14. <ul>
  15. <li v-for="lesson in lessons"><a v-bind:href="'lesson' + lesson">Lesson {{ lesson }}</a></li>
  16. </ul>
  17. </div>
  18. <script src="lib/vue-2.1.3.js"></script>
  19. <script src="code.js"></script>
  20. </body>
  21. </html>