You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creeper edited this page Jun 30, 2016
·
1 revision
A typical component has structure below:
mycomponent/ # name should be component name|---- component.json/.yml/.yaml # config and data|---- x.css
|---- one.html # component state one|---- two.html # component state two|____ _xx.html # html starts with _ will be ignored
Dir can be scanned to generate component.yml. And you can custom some data like state name.
Html file whose name starts with _ will be ignored when scan.
Support other kind of component structure, but this one would be most suitable for prototyping.