Zenika / react-workbench

Design your React component in an isolated context
MIT License
8 stars 1 forks source link

:sparkles: router #94

Closed bpetetot closed 7 years ago

bpetetot commented 7 years ago

To add the "documentation screen" (#60), it's better to manage navigation through a router. I have added the following libraries :

For now, I have initialized the router in "hash mode" (routerForHash) I have also organized the componentsfolder like that :

 components/
     common/
          button/
          navbar/
          navButton/
     documentation/
     workbench/

And I have added the appLayout.jsx file managing app layout and routes.

bpetetot commented 7 years ago

👌 @fabienjuif