@Myrdhin wrote:
Does Ember support components organized in sub-directories ? see https://github.com/ember-cli/ember-cli/issues/1219#issuecomment-218873070
I use POD and i organize all my components in
app/components/*
sub-directories:
app/components/forms/
app/components/table/
- etc.
But, when i call my components in templates, i don't know which notation to use:
{{#forms/test-field}}...{{/forms/test-field}}
OR
{{#forms.test-field}}...{{/forms.test-field}}
Both work... I prefer the second (with dot) because i prefer to keep the slash character to identify end of HTML and HTMLBars blocks.
What do you think? What is Ember's recommended way of doing that (if it's supported by Ember) ?
Posts: 1
Participants: 1