Skip to content

Instantly share code, notes, and snippets.

@timdorr
Created January 29, 2016 04:48
Show Gist options
  • Save timdorr/104c1742310b72d4195d to your computer and use it in GitHub Desktop.
Save timdorr/104c1742310b72d4195d to your computer and use it in GitHub Desktop.
Autoloaded JS
export default const routes = (
<App path="/">
<Page1 path="page1">
<Tab1 path="tab1" />
<Tab2 path="tab2" />
</Page1>
<Page2 path="page2">
<Tab1 path="tab1" />
<Tab2 path="tab2" />
</Page2>
</App>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment