showing results for - "rotas react com axios"
Henry
25 Oct 2018
1import React from 'react';
2import Header from '../Header';
3 
4function Form(){
5    return (
6        <div>
7            <Header title="React Form" />
8            Olá Mundo!
9        </div>
10    )
11}
12 
13export default Form;
14
Vanessa
16 Jan 2017
1import React from 'react';
2import {Route, BrowserRouter} from 'react-router-dom';
3 
4import Home from './Pages/Home';
5import Form from './Pages/Form';
6 
7function Routes(){
8    return (
9        <BrowserRouter>
10            <Route component={Home} path="/" exact />
11            <Route component={Form} path="/cadastro" />
12        </BrowserRouter>
13    )
14}
15 
16export default Routes;
17
Jevan
20 Nov 2019
1function App() {
2  return (
3    <Routes />
4  )
5}
6
queries leading to this page
rotas react com axiosrotas react com axios