以Jar形式为Web项目提供资源文件 WebJars

Web前端使用了越来越多的JS或CSS如jQuery, Backbone.js 和Twitter Bootstrap等等,平时我们是将这些Web资源拷贝到Java的目录下,这种通过人工方式拷贝可能会产生版本误差,拷贝版本错误,前端页面就无法正确展示。

Java 其它杂项

访问GitHub主页

共310Star

详细介绍

WebJars

Join the chat at https://gitter.im/webjars/webjars

This is source for the http://www.webjars.org website. This is also the place to file requests for new WebJars.

For more information about WebJars visit the website: http://www.webjars.org

Travis CI Build Status

Development Info

Run the web app:

  1. Start a local memcache server
  2. ./sbt ~run

Note: Deploying WebJars to BinTray / Maven Central requires a bunch of stuff. In the future that will be documented but for now, deployment won't work in plain development environments.

Run the tests:

  1. ./sbt test
推荐源码