VueJS: Vue Components
In this tutorial we're going to learn how we can create reuseable templates in VueJS by creating Vue components. For this example we're going to re-visit the todo list loop from a previous tutorial.
To recap to create a list item for the todo we needed a HTML template of this
Now we're going to swap out the list item element for a reuseable todo-item component that we can reuse anywhere in our app.
To start with we need to change the . . .
Subscribe To Newsletter
Get weekly updates to your email