Buttons Example #2
Basic example, with component externalized.
buttoncomponent is externalized to a
- Demo page,
index.hbs, lists out each button modifier as a separate "include".
default.hbs, is used to "wrap" the demo page with a common head and footer. This layout is defined in the Gruntfile, in Assemble's task-level options.
button"modifier" is listed in full, versus externalizing the modifiers into "includes" or partial views.
- Extraneous information about the demo is also embedded in the HTML with the component examples.