Inline Template only components for Ember.JS
MIT License
This addon allow developers create inline template only components.
ember install ember-cli-inline-template-only-components
wrap template logic inside InlineComponentTemplate
component.
specify local name in name
attribute.
invoke locally defined component using component
helper and from-inline-template
helper.
<InlineComponentTemplate name="congrats">
Hello, World, I'm {{@name}}
</InlineComponentTemplate>
{{component (from-inline-template "congrats") name="Template"}}
** nested InlineComponentTemplate
s not suppoprted.
See the Contributing guide for details.
This project is licensed under the MIT License.