sintaxi / harp

Static Web Server/Generator/Bundler
http://harpjs.com
5k stars 342 forks source link

should support Handlebars #60

Closed sintaxi closed 4 years ago

sintaxi commented 11 years ago
kebot commented 11 years ago

What will be the output? I compile jade, handlebars into js file(a AMD module), but others may not. So configure is needed.

L8D commented 11 years ago

I think it should have the extension .ext.hbs where ext is some kind of file extension. Example: index.html.hbs or app.coffee.hbs

But remember to do the chain compiling, so that app.coffee.hbs ends up as app.js. :smiley:

alpacaaa commented 10 years ago

Support for handlebars would be really cool!

cfjedimaster commented 10 years ago

Big plus one here.

L8D commented 10 years ago

The only thing that it would support is the global variables you define in the harp.json.

svnlto commented 10 years ago

:thumbsup:

kennethormandy commented 10 years ago

Two more :+1: via Twitter

phated commented 10 years ago

I am also a :+1: - handlebars is my go-to templating engine. I really dislike jade :P

BretFisher commented 10 years ago

:+1:

afomi commented 10 years ago

:+1:

ytzvan commented 10 years ago

:+1:

Globegitter commented 10 years ago

:+1: handlebars support would be really great

s-oram commented 9 years ago

+1 Handlebars support would be great.

ir-g commented 9 years ago

:+1: Would be awesome.

bparonto commented 9 years ago

đź‘Ť yes please

gillesdemey commented 9 years ago

Is this being worked on or still considered? I might take a stab at this and implement it in terraform.

kennethormandy commented 9 years ago

@gillesdemey We have an open pull request for it https://github.com/sintaxi/terraform/pull/93 but haven’t merged it yet. Browserify support is still our next planned release.

cfjedimaster commented 9 years ago

Is there anything we can do to help get the PR in? Like testing of any sort. On Aug 27, 2015 7:24 AM, "Kenneth Ormandy" notifications@github.com wrote:

@gillesdemey https://github.com/gillesdemey We have an open pull request for it sintaxi/terraform#93 https://github.com/sintaxi/terraform/pull/93 but haven’t merged it yet. Browserify support is still our next planned release.

— Reply to this email directly or view it on GitHub https://github.com/sintaxi/harp/issues/60#issuecomment-135174308.

sintaxi commented 9 years ago

Is there anything we can do to help get the PR in?

Something is still unclear to me. What does handlebars do which isn't already provided by ejs? How does handlebars improve harp?

cfjedimaster commented 9 years ago

Well you can make the argument that one template language is all you need. :) At the end of the day though supporting Handlebars is about providing more choices for users. Imo, Handlebars is just plain nicer to use than EJS.

If there is any grunt work I can do to make this happen I will. On Aug 27, 2015 8:40 AM, "Brock Whitten" notifications@github.com wrote:

Is there anything we can do to help get the PR in?

Something is still unclear to me. What does handlebars do which isn't already provided by ejs? How does handlebars improve harp?

— Reply to this email directly or view it on GitHub https://github.com/sintaxi/harp/issues/60#issuecomment-135197653.

cfjedimaster commented 9 years ago

I hit send before boarding a plane - as part of the grunt work, I'd be happy to help update the core docs for the site.

On Thu, Aug 27, 2015 at 10:43 AM, Raymond Camden raymondcamden@gmail.com wrote:

Well you can make the argument that one template language is all you need. :) At the end of the day though supporting Handlebars is about providing more choices for users. Imo, Handlebars is just plain nicer to use than EJS.

If there is any grunt work I can do to make this happen I will. On Aug 27, 2015 8:40 AM, "Brock Whitten" notifications@github.com wrote:

Is there anything we can do to help get the PR in?

Something is still unclear to me. What does handlebars do which isn't already provided by ejs? How does handlebars improve harp?

— Reply to this email directly or view it on GitHub https://github.com/sintaxi/harp/issues/60#issuecomment-135197653.

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : raymondcamden@gmail.com Blog : www.raymondcamden.com Twitter: raymondcamden

kennethormandy commented 9 years ago

Honestly, most of that is done on a branch already too https://github.com/harp/harpjs.com/tree/ko-handlebars

earth2marsh commented 9 years ago

:+1:

sidonaldson commented 8 years ago

If it's a quick win then why not?

ir-g commented 8 years ago

@sintaxi @kennethormandy What is the status of sintaxi/terraform#93? Is it ready to go ahead?

zoltan-nz commented 8 years ago

I'm really looking forward the handlebar support. Hope will be released soon. ;) Keep up the good work.

n400 commented 8 years ago

Looking forward to this as well because I have a handlebars site I want to move to harp

openhoat commented 8 years ago

:+1:

MeanwhileMedia commented 8 years ago

+1

gabskoro commented 8 years ago

It's almost three years now after the issue was opened, what are we waiting for?

caillou commented 7 years ago

@sintaxi wrote:

Something is still unclear to me. What does handlebars do which isn't already provided by ejs? How does handlebars improve harp?

In my particular case, I would like to port a legacy project to harp.js. The project uses twig templates. If harp.js would offer the possibility to use other templating-engines, such a port would be much simpler.