Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div id="app">
- <div class="heading">
- <h1>Cruds</h1>
- </div>
- <crud-component
- v-for="crud in cruds"
- v-bind="crud"
- :key="crud.id"
- @update="update"
- @delete="del"
- ></crud-component>
- <div>
- <button @click="create()">Add</button>
- </div>
- </div>
- </template>
Add Comment
Please, Sign In to add comment