-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I would like to know if anyone could tell me how to integrate webjars with zk in No Maven project.
Best Regards.
Hi Minibota,
I am surprised you are asking in the ZK Forum since the answer would be the same for any other servelt web application.
If want to add a webjar manually (without maven) you can simply download it and add it to your WEB-INF/lib folder.
e.g. bootstrap
test.war:/WEB-INF/lib/bootstrap-3.3.7-1.jar
access resources via URL (to test that it's working): http://localhost:8080/test/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css
in a zul-file you can add a stylesheet/script using the respective markup
As you can see there's hardly anything special from the ZK side
Asked: 2017-11-07 01:20:12 +0800
Seen: 14 times
Last updated: Nov 07 '17