Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 633 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 633 Bytes

Buttons Example #001

Basic example, with component listed multiple times, wrapped with a layout.

demo

markup

data

component

markup

data

index.hbs

  • All demo markup for the component is constrained to a single page.
  • layout, 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.
  • Each 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.