ember-code-snippet
ember-code-snippet copied to clipboard
Snippets in folder hierarchy aren't found
For a rather complex addon, I aimed to create a hierarchy of snippets
buttons/
simple.hbs
with-icon.hbs
floating.hbs
navbar/
responsive.hbs
with-dropdown.hbs
It seems that the snippets are not found. I'll provide a simple example soon
It seems this is true if your templates are within pods behind a podModulePrefix as well.
Does the snippetPaths option mentioned in the README solve this issue?
How do I show inline snippets from an addon?
@lolmaus: by adding this to ember-cli-build:
{
snippetSearchPaths: ['app', 'node_modules/addon-name/addon']
}
:+1: