GrailsにはKickstart with Bootstrapプラグインというのがあって、サイトの雛形として使える便利ものですが、実にかっちょ良い。 スキャッフォルドも手が加わっていて、Twitter Bootstrap対応になっています。 こういうテンプレートがいっぱいあると良いなあ。 使うのは簡単で、最初の手間としては以下だけです。 grails install-plugin KickstartWithBootstrap grails kickstartcreate-domain-classで生成される雛形のドメインクラス定義も、コメントが豊富についていて、 package kick /** * Book * A domain class describes the data object and it's mapping to the database */ class Book
![Kickstart with Bootstrapプラグインがかっこいいぞ - uehaj's blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/479d2c5d35a70227e1a1ea51518a11961fc047f7/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fu%2Fuehaj%2F20121102%2F20121102191042.png)