Plugins can provide components, simple building blocks that enrich any page or layout. Check out the todo example below.
The HTML markup for this example:
{% component 'todolistTodo' %}
Wait, only one line is needed?
Yes! unlike the AJAX example, components are simple building blocks that can be used with a small amount of code.
The todolist
component used here is provided by the plugin called
Winter\todolist, you can find it in the plugins/winter/todolist
folder.
Voice/ Text: +1 (814) 867-5309