home ~ projects ~ socials

New Component Checklist

Steps to add a new component to Neopoligin

(This is a temp list for dev)

Make an example.html template

Add to page::helpers::source_example

add §ion to page::containers::body_container

add this to page::sections::SECTION_NAME signature - section: NeoSection

add this to the page::sections::SECTION template call: - source_example => source_example(section.clone()),

Add something like this to the tests:

let section = NeoSection::Aside {
    attributes: attributes.clone(),
    body: body.clone(),
};
-- end of line --