Skip to content

ccgitgit/react-router-simple-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Boilerplate from : CADBT

includes webpack, webpack-dev-server, jsx, and es6


This is just a simple react-router-demo to show the basic of route、index route、nest route、route with params as :

    <Router history={browserHistory}>
        <Route path='/' component={App}>
            <IndexRoute component={Home} />
            <Route path='/about' component={About} />
            <Route path='/products' component={Products} >
                <Route path='/products/:id' component={Product} />
            </Route>
        </Route>
    </Router>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published