Promote separate bundles

This commit is contained in:
Tommi Reiman 2017-11-01 09:29:16 +02:00
parent 1ccd93101c
commit eb1ac12107
2 changed files with 18 additions and 0 deletions

View file

@ -15,8 +15,18 @@ See [Issues](https://github.com/metosin/reitit/issues) for roadmap.
## Latest version
All bundled:
[![Clojars Project](http://clojars.org/metosin/reitit/latest-version.svg)](http://clojars.org/metosin/reitit)
In parts:
[![Clojars Project](http://clojars.org/metosin/reitit-core/latest-version.svg)](http://clojars.org/metosin/reitit-core)
[![Clojars Project](http://clojars.org/metosin/reitit-ring/latest-version.svg)](http://clojars.org/metosin/reitit-ring)
[![Clojars Project](http://clojars.org/metosin/reitit-spec/latest-version.svg)](http://clojars.org/metosin/reitit-spec)
## Quick start
```clj

View file

@ -17,6 +17,14 @@ To use Reitit, add the following dependecy to your project:
[metosin/reitit "0.1.0-SNAPSHOT"]
```
Optionally, the parts can be required separately:
```clj
[metosin/reitit-core "0.1.0-SNAPSHOT"] ; just the router
[metosin/reitit-ring "0.1.0-SNAPSHOT"] ; ring-router
[metosin/reitit-spec "0.1.0-SNAPSHOT"] ; spec-coercion
```
# Examples
## Simple router