The HTML markup for this example:
{% filter escape %} {{ "{% component 'demoTodo' %}" }} {% endfilter %}
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.