SHARE
TWEET

Untitled

a guest Jun 25th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top