Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

cannot get / react router dom

# If you're using Webpack then make sure you have this in your
# webpack config file:

output.publicPath = '/'
devServer.historyApiFallback = true
  
# This should solve it.
 
PREVIOUS NEXT
Tagged: #react #router #dom
ADD COMMENT
Topic
Name
3+2 =