axefrog / cycle-router5

A router driver for Cycle.js, wrapping the router5 library
29 stars 4 forks source link

Better example #1

Closed Frikki closed 9 years ago

Frikki commented 9 years ago

Could you please make a better example of how to use this router? Perhaps show a setup like an example found on the official router5 page.

I think you are assuming cycle users to "be in the know", which isn’t particularly the case.

Many thanks!

axefrog commented 9 years ago

Sure, I'll try to find some time in the next few days.

Frikki commented 9 years ago

:+1:

basham commented 9 years ago

:+1:

axefrog commented 9 years ago

I've updated the driver and added a better example to the readme file. Let me know if you have any issues with the driver.

basham commented 9 years ago

@Frikki I worked on an example yesterday, which includes hot module loading. Very rough. But its enough for me to get a better feel for these tools. https://github.com/basham/cycle-demo/tree/router5

And here's another version, using cycle-director. https://github.com/basham/cycle-demo/tree/director

basham commented 9 years ago

@axefrog Thanks for the work on your example.