12 | Oups, route not found :( [404] 13 |
14 |Example Component:
21 |15 | {props.children} 16 |
17 |Welcome {params.name} to React world ! [You are {params.age} years old]
20 | ); 21 | } 22 | } 23 | 24 | export default Welcome; 25 | -------------------------------------------------------------------------------- /src/shared/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbayb/reactjs-typescript-isomorphic-starterkit/92fb787a677bd1f1e513532bd2f9e2915bf3f9eb/src/shared/favicon.ico -------------------------------------------------------------------------------- /src/shared/routes.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | import { browserHistory, Router, Route, IndexRoute } from "react-router"; 3 | import App from "./components/app"; 4 | import Example from "./components/example/example"; 5 | import Welcome from "./components/welcome/welcome"; 6 | import Navbar from "./components/navbar/navbar"; 7 | import Single from "./components/single/single"; 8 | import NotFound from "./components/404/404"; 9 | 10 | export default( 11 |