Created
December 11, 2016 13:37
-
-
Save mix5003/0d42b16e830abdb12d4a4e67729aec3b to your computer and use it in GitHub Desktop.
Why activeClassName not actived
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Route | |
| path="albums" | |
| getComponent={(nextState, cb) => { | |
| require.ensure([], require => { | |
| cb(null, require('./components/PageFrame/PageFrame').default); | |
| }); | |
| }} | |
| > | |
| <IndexRoute | |
| getComponent={(nextState, cb) => { | |
| require.ensure([], require => { | |
| cb(null, require('./pages/AlbumList/AlbumList').default); | |
| }); | |
| }} | |
| /> | |
| <Route | |
| path="recent-add-product" | |
| getComponent={(nextState, cb) => { | |
| require.ensure([], require => { | |
| cb(null, require('./pages/RecentAddProduct/RecentAddProduct').default); | |
| }); | |
| }} | |
| /> | |
| <Route | |
| path=":albumId" | |
| getComponent={(nextState, cb) => { | |
| require.ensure([], require => { | |
| cb(null, require('./pages/AlbumPhotoList/AlbumPhotoList').default); | |
| }); | |
| }} | |
| /> | |
| </Route> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment