Tutorial by Examples

In Aurelia all HTML templates are defined inside of opening and closing <template></template> tags. All of your HTML and Aurelia specific logic goes inside of these template tags and cannot exist outside of them. <template> </template>
Looping over an iterable defined inside of your viewmodel or passed through as a bindable (if a Custom Attribute or Custom Element) can be done like so. An array of string values export class MyViewModel { myIterable = ['String 1', 'String 2', 'String 3', 'String 4']; } <template> ...

Page 1 of 1