Created
October 16, 2018 10:19
-
-
Save MeetMartin/81c231e3859781170123da9928d23326 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { BrowserRouter as Router, Link } from 'react-router-dom'; | |
import Routes from './Routes'; | |
/** | |
* Base Template component holding the basic web application | |
* @returns {JSX} | |
*/ | |
const App = () => ( | |
<Router basename="/subdirectory/"> | |
<main> | |
<Routes /> | |
</main> | |
</Router> | |
); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment