Here's a pretty good article about doing it with AMD: http://joseoncode.com/2012/08/30/share-your-server-side-templates-to-the-browser/
Gus On Mon, Oct 1, 2012 at 11:55 PM, Ted Young <t...@radicaldesigns.org> wrote: > > > > One problem - was no easy way (or I didn't found it) to browserify also > templates for my backbone.js app. > > So I wrote tiny plugin resourcify ( > https://github.com/alexeypetrushin/resourcify) that handles > > templates (eco, ejs, handlebars, hogan, jade) same way as ordinary js > files. > > Maybe it can be useful for someone. > > Nice! I have a little module called stitchit > https://github.com/tedsuo/stitchit that I use for templates in > non-browserify situations, but i will use yours next time I switch to > browserify. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en