Created
January 7, 2013 18:12
-
-
Save billyyarosh/4477107 to your computer and use it in GitHub Desktop.
A better example of how to add resources in Grails 2.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
application { | |
resource url:'js/application.js' | |
} | |
bootstrap { | |
resource url:'less/custom-bootstrap.less',attrs:[rel: "stylesheet/less", type:'css'] | |
dependsOn 'jquery' | |
dependsOn 'bootstrapJs' | |
} | |
bootstrapJs { | |
resource url:'js/bootstrap/bootstrap-affix.js' | |
resource url:'js/bootstrap/bootstrap-alert.js' | |
resource url:'js/bootstrap/bootstrap-button.js' | |
resource url:'js/bootstrap/bootstrap-carousel.js' | |
resource url:'js/bootstrap/bootstrap-collapse.js' | |
resource url:'js/bootstrap/bootstrap-dropdown.js' | |
resource url:'js/bootstrap/bootstrap-modal.js' | |
resource url:'js/bootstrap/bootstrap-popover.js' | |
resource url:'js/bootstrap/bootstrap-scrollspy.js' | |
resource url:'js/bootstrap/bootstrap-tab.js' | |
resource url:'js/bootstrap/bootstrap-tooltip.js' | |
resource url:'js/bootstrap/bootstrap-transition.js' | |
resource url:'js/bootstrap/bootstrap-typeahead.js' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment