rotas react com axios
function App() {
return (
<Routes />
)
}
rotas react com axios
function App() {
return (
<Routes />
)
}
rotas react com axios
import React from 'react';
import Header from '../Header';
function Form(){
return (
<div>
<Header title="React Form" />
Olá Mundo!
</div>
)
}
export default Form;
rotas react com axios
import React from 'react';
import {Route, BrowserRouter} from 'react-router-dom';
import Home from './Pages/Home';
import Form from './Pages/Form';
function Routes(){
return (
<BrowserRouter>
<Route component={Home} path="/" exact />
<Route component={Form} path="/cadastro" />
</BrowserRouter>
)
}
export default Routes;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us