robfletcher / grails-angular-scaffolding

A Grails plugin for scaffolding views using Angular.js
http://grails-ng.cloudfoundry.com/
87 stars 43 forks source link

Twitter bootstrap #26

Open arminio opened 11 years ago

arminio commented 11 years ago

It appears that the angularjs-scaffolding (this plugin) has support for twitter bootstrap built into it already but it seems to have not been turned off for some reason (could be just a small oversight)

I turned on the bootstrap by easily adding the following line to the head section of this file locally: /src/templates/scaffolding/index.gsp

        <link rel="stylesheet" href="\${resource(dir: 'css', file: 'mobile.css')}" type="text/css">        

        <r:require module="angular-scaffolding"/>  
        <r:require modules="bootstrap"/>  <--------Added this
    </head>

Was this left out intentionally?

robfletcher commented 11 years ago

I used Bootstrap for the demo app but didn't want to force users to rely on it.