3
I created a route structure with Hashrouter in React and everything works fine, but my route always http://localhost:3000/#/ + a rota
.
return (
<div>
<HashRouter>
<Switch>
<Route path="/login" component={Login} />
<Route path="/" component={Dashboard} />
</Switch>
</HashRouter>
</div>
);
That’s right! Thank you very much for your reply Luiz, helped me a lot.
– Tiago_Albuquerque