Skip to content

react-router does not work after building vite #13390

Discussion options

You must be logged in to vote

I guess you need to add react-router and react-router-dom to build.rollupOptions.external.

Replies: 7 comments 12 replies

Comment options

You must be logged in to vote
6 replies
@bilalbhojani24
Comment options

@moussa32
Comment options

@moneymaker24
Comment options

@moussa32
Comment options

@ThisIsLoui
Comment options

Answer selected by Dmitriy-Krivetsky
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@dohomi
Comment options

@uttampun44
Comment options

@bilalbhojani24
Comment options

@dohomi
Comment options

@uttampun44
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet