Skip to content
Discussion options

You must be logged in to vote

you need to config webpack right. it should be a SPA application if you want to use react-router.

devServer: {
      historyApiFallback: true,
}

Replies: 0 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@DeveloperCharles
Comment options

@DeveloperCharles
Comment options

@DeveloperCharles
Comment options

Comment options

You must be logged in to vote
4 replies
@DeveloperCharles
Comment options

@DeveloperCharles
Comment options

@lili21
Comment options

Answer selected by DeveloperCharles
@DeveloperCharles
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants