How to use <r:require modules = 'application'/>

HI !!!!!!!!!!!!!!!
In ApplicationResource.groovy file I call main.css file

modules = {
application {
resource url:'js/application.js'
resource url:'css/main.css'
How to use <r:require modules = 'application'/>
tag based on ApplicationResource.groovy file module names. Kindly help me how to use the above functions.

But I while i calling that application module name in GSP as <r:require modules = 'application'/>
it wont display the gsp with css styles.

Any one can try this functions and reply me how to use it.
Last edited: