react-router-v4-tutorial icon indicating copy to clipboard operation
react-router-v4-tutorial copied to clipboard

bundle issue

Open aafnnp opened this issue 8 years ago • 0 comments

after use yarn run build , put it on server , it's render nothing , but good on local here is my router config code

<Router basename="/novel-app">
            <div>
                <Route exact path='/' component={Index}/>
                <Route path='/Index' component={Index}/>
                <Route path='/searchResult' component={SearchResult}/>
                <Route path='/sources' component={Sources}/>
                <Route path='/categories' component={Categories}/>
                <Route path='/chapter' component={Chapter}/>
                <Route path='/cat' component={Cat}/>
            </div>
        </Router>

what should i do?

aafnnp avatar Jun 28 '17 14:06 aafnnp