1
1
mirror of https://github.com/srid/rib.git synced 2024-11-26 04:15:35 +03:00

Link to quick preview from typed routes

This commit is contained in:
Sridhar Ratnakumar 2020-04-17 22:24:07 -04:00
parent a24653c893
commit f984d461a2

View File

@ -91,3 +91,8 @@ them when linking in your HTML. The `Rib.routeUrl` function takes a route
You will pass your routes to whichever function (`renderPage` is principle among You will pass your routes to whichever function (`renderPage` is principle among
them) that needs to know the URL to your generated files, as long as they remain them) that needs to know the URL to your generated files, as long as they remain
polymorphic in the route type. polymorphic in the route type.
---
See the entire code in [2015601](zcf:/) to see all of this would fit together in
a static site generator.