Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

react routes not working after build

// replace
import { BrowserRouter, Route, Link, Switch } from 'react-router-dom';

// by 
import { HashRouter, Route, Link, Switch } from 'react-router-dom';
 
PREVIOUS NEXT
Tagged: #react #routes #working #build
ADD COMMENT
Topic
Name
8+3 =