Plugin components

Plugins can provide components, simple building blocks that enrich any page or layout. Check out the todo example below.

To Do List


  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 Winter\Demo, you can find it in the plugins/winter/demo folder.


Learn more at Winter's Documentation