CMS 컴포넌트 데모

플러그인은 페이지·레이아웃·파셜을 풍부하게 하는 CMS 컴포넌트(간단한 블록)를 제공할 수 있습니다. 아래 To Do 예시를 확인하세요.

해당 예시의 HTML 마크업

{% component 'demoTodo' %}

Wait, only one line is needed? Yes! CMS components are simple building blocks that can be used with a small amount of code. Components encapsulate PHP code and partials and can be included in a page, layout or partial with a single line of code. By sharing plugins between multiple projects, you can reuse CMS components and be more productive. The demoTodo component used here is provided by the plugin called OctoberDemo, you can find it in the plugins/october/demo folder.