The goal of this template is to quickly stub a prototype application for a single component. This template adheres to the standard montage pattern of creating a .info directory as a direct sibling of its associated component.
Example
Component
Command
Output
ui/list-item.reel
minit create:sample -n list-item
ui/list-item.info
ui/button/custom-button.reel
minit create:sample -n custom-button -d ui/button
ui/button/custom-button.info
Structure
The output is based on the app.js template with a few key differences:
test and run-tests.html are removed
The package dependencies are replaced with mappings back to montage and the main package.
The goal of this template is to quickly stub a prototype application for a single component. This template adheres to the standard montage pattern of creating a .info directory as a direct sibling of its associated component.
minit create:sample -n list-item
minit create:sample -n custom-button -d ui/button
Structure The output is based on the app.js template with a few key differences:
test
andrun-tests.html
are removedThe package dependencies are replaced with mappings back to montage and the main package.
The
montageVersion
component serialized inui/main.reel
is replaced with an instance of the component being prototyped.