Created
April 23, 2020 18:01
-
-
Save blogcacanid/cbd71399062e619dff99ee63f88472ba to your computer and use it in GitHub Desktop.
App.js iPortofolio React JS
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,{Component} from 'react'; | |
| import Sidebar from './components/Sidebar'; | |
| import Home from './components/Home'; | |
| import About from './components/About'; | |
| import Resume from './components/Resume'; | |
| import Portofolio from './components/Portofolio'; | |
| import Services from './components/Services'; | |
| import Contact from './components/Contact'; | |
| import { BrowserRouter as Router } from 'react-router-dom'; | |
| import $ from 'jquery'; | |
| window.jQuery = $; | |
| window.$ = $; | |
| global.jQuery = $; | |
| class App extends Component { | |
| render(){ | |
| return( | |
| <Router> | |
| <Sidebar /> | |
| <Home /> | |
| <About /> | |
| <Resume /> | |
| <Portofolio /> | |
| <Services /> | |
| <Contact /> | |
| </Router> | |
| ) | |
| } | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment