just a second
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 'demoTodo' %}
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 demoTodo
component used here is provided by the plugin called October\Demo, you can find it in the plugins/october/demo
folder.