Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <template>
  2. <div>
  3. <pre>{{ tasks }}</pre>
  4. <v-task-list-input v-model="tasks" />
  5. </div>
  6. </template>
  7.  
  8. <script lang="ts">
  9. import { Component, Vue } from "vue-property-decorator";
  10. import VueTaskListInput from "../components/VueTaskListInput.vue";
  11.  
  12. @Component({
  13. components: {
  14. "v-task-list-input": VueTaskListInput
  15. }
  16. })
  17. export default class App extends Vue {
  18. tasks = [
  19. {
  20. id: 1,
  21. title: "to do 1",
  22. description: "hello world"
  23. },
  24. {
  25. id: 2,
  26. title: "task 2",
  27. description: "hi hi hi hi !"
  28. }
  29. ];
  30. }
  31. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement