assemble / generator-assemble

Yeoman generator for Assemble, the static site generator built on Grunt.js. Kickstart new Assemble projects in just a few seconds, including templates, data, layouts, and a theme.

Home Page:http://assemble.io/docs/Resources.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate base on Assemble support engine

hariadi opened this issue · comments

Engine

  • handlebarjs (default)
  • swig

Or Consolidate.js!

Command:

yo assemble:boilerplate [-b] <boilerplate>

It's completely up to you, but would it be better to create a different generator for swig? the templates would be completely different. or is this something that you already had planned out?

For yeoman generator, yes. Better use one generator and generate boilerplate base on user choice. So user don't need to install multiple generator.

Maybe we can start with different generator for different engine, then combine to one generator?

Let me know what you think.

I'm not as familiar with yeoman as you are, so I'll follow your lead. In general, I agree that it's better to make things easier for users, so your suggestion of basing the result on user choice sounds like the way to go.

The plan is to internalize the template engines in 0.5.0, so users won't have to choose an engine this way. I think this will help us focus on boilerplates with this. Agreed?

..focus on boilerplates..

Agreed.