App.js 393 Bytes
Newer Older
Spark's avatar
layout    
Spark committed
1
2
3
4
import React from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import './App.css';
import Home from './pages/Home';
5
import Oauth from './components/Oauth';
Spark's avatar
layout    
Spark committed
6
7
8
9
10
11
12
13


function App() {
  
  return (
    <Router>
      <>
      <Route exact path='/' component={Home} />
14
      <Route path='/oauth' component={Oauth}/>
Spark's avatar
layout    
Spark committed
15
16
17
18
19
20
21
      </>
    </Router>
    
  );
}

export default App;