code.js 196 B

123456789101112
  1. Vue.component('progress-view', {
  2. data() {
  3. return {
  4. completionRate: 50,
  5. };
  6. },
  7. // No need for a template: it is inline in the HTML.
  8. });
  9. const app = new Vue({
  10. el: '#root',
  11. });