Closed fiveisprime closed 9 years ago
@fiveisprime Thanks for the PR! Reviewing now.
Aside from the somewhat ugly require
syntax, I really like this approach. Thanks for sharing!
template: require('../../templates/pages/info.hbs')
Haha yeah, I'm incredibly conflicted when it comes to the require syntax. It's not the most elegant or lovely solution and I love and hate it for the same reason: it's very specific. The relative paths are very descriptive and make it easy to understand which is great until things have to change then it's not so great.
Thanks for merging it. Hopefully others find the transform example useful. :)
Example is based on the Ampersand application generated when using the Ampersand CLI but adds a browserify transform for using handlebars templates.