index.html 1008 B

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