Skip to content

Commit

Permalink
[ Add ] Public API for Route handlers
Browse files Browse the repository at this point in the history
[ Optimize ]  Route register supports RegExp route
  • Loading branch information
TechQuery committed Jul 4, 2018
1 parent 57f8b2c commit 9fdd400
Show file tree
Hide file tree
Showing 44 changed files with 22,126 additions and 14,038 deletions.
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Router component based on [WebCell](https://web-cell.tk/)
- [x] Path mode: `location.hash` (default) & `history.pushState()`
- [x] Page loader: auto detect **UMD** & **ES module**
- [x] DOM cache
- [ ] Route handler: Similar with [Express.js](https://expressjs.com/en/guide/routing.html)
- [x] Route handler: Similar with [Express.js](https://expressjs.com/en/guide/routing.html)



Expand All @@ -27,7 +27,7 @@ First
```Shell
npm install cell-router
```
then write your **SPA index page** follow [the example](https://github.com/EasyWebApp/cell-router/blob/master/test/index.html)
then write your **SPA index page** follow [the example](https://github.com/EasyWebApp/cell-router/tree/master/test)



Expand Down
Loading

0 comments on commit 9fdd400

Please sign in to comment.