mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Promote separate bundles
This commit is contained in:
parent
1ccd93101c
commit
eb1ac12107
2 changed files with 18 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -15,8 +15,18 @@ See [Issues](https://github.com/metosin/reitit/issues) for roadmap.
|
|||
|
||||
## Latest version
|
||||
|
||||
All bundled:
|
||||
|
||||
[](http://clojars.org/metosin/reitit)
|
||||
|
||||
In parts:
|
||||
|
||||
[](http://clojars.org/metosin/reitit-core)
|
||||
|
||||
[](http://clojars.org/metosin/reitit-ring)
|
||||
|
||||
[](http://clojars.org/metosin/reitit-spec)
|
||||
|
||||
## Quick start
|
||||
|
||||
```clj
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue