Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle issue #2

Open
aafnnp opened this issue Jun 28, 2017 · 0 comments
Open

bundle issue #2

aafnnp opened this issue Jun 28, 2017 · 0 comments

Comments

@aafnnp
Copy link

aafnnp commented Jun 28, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant