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