code.js 124 B

12345678910
  1. Vue.component('task', {
  2. template: '<li><slot></slot></li>',
  3. });
  4. const app = new Vue({
  5. el: '#root',
  6. data: {
  7. },
  8. });