You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case someone runs into the same issue, my templates weren't compiling as I didn't have an ending / in my path. Not sure if this is the way it's supposed to be or an issue. Feel free to close.
It seems from reading the source (here) that the templates should be generated regardless of what you use in templateBasePath. The issue is likely that it was only removing app/scripts/templates which left your templates registered with a leading slash.
In other words a file named app/scripts/templates/foo.hbs would be compiled and registered as a module named /foo (assuming a templateBasePath of app/scripts/templates).
I have submitted #57 to help prevent this situation in the future.
In case someone runs into the same issue, my templates weren't compiling as I didn't have an ending
/
in my path. Not sure if this is the way it's supposed to be or an issue. Feel free to close.works:
templateBasePath: '<%= yeoman.app %>/scripts/templates/'
does not work:
templateBasePath: '<%= yeoman.app %>/scripts/templates'
The text was updated successfully, but these errors were encountered: