zk plugin for grails

1. 在grails项目中BuildConfig.groovy中 添加
   plugins {
       compile ":zk:2.1.0"

2. $ grails create-zul index

will give you

    grails-app/zul/index.zul linked with indexComposer
    grails-app/composers/IndexComposer.groovy, the composer class.

Then $ grails run-app, and point your browser to http://localhost:8080/<your app>/index.zul.

你可能感兴趣的:(zk,grails)