index.html 970 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.2.3/css/bulma.css" />
  7. <link rel="stylesheet" href="../styles.css" />
  8. <link rel="stylesheet" href="styles.css" />
  9. </head>
  10. <body>
  11. <nav>
  12. <h1><span class="index">15</span>Single-use components and inline templates</h1>
  13. <ul>
  14. <li><a href="../lesson14">Prev</a></li>
  15. <li><a href="../lesson16">Next</a></li>
  16. </ul>
  17. </nav>
  18. <div id="root" class="container">
  19. <progress-view inline-template>
  20. <div>
  21. <h2>Your progress through this course is {{ completionRate }}%</h2>
  22. <p><button v-if="completionRate < 100" @click="completionRate += 10">Increase completion</button></p>
  23. </div>
  24. </progress-view>
  25. </div>
  26. <script src="../lib/vue-2.1.3.js"></script>
  27. <script src="code.js"></script>
  28. </body>
  29. </html>