Skip to content

Instantly share code, notes, and snippets.

Last active Jan 26, 2019
What would you like to do?
<render-less-list-todos v-model="todos">
<div slot-scope="{ todos, removeTodo, inputAttributes, inputEvents }">
<b-list-group-item v-for="todo in todos">
{{ todo }} <b-btn variant="danger" class="float-right" @click="removeTodo(todo)">Eliminar</b-btn>
placeholder="Añade una nueva tarea"
import RenderLessListTodos from '@/components/RenderLessListTodos.vue'
export default {
components: {
data () {
return {
todos: ['todo 1']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment