daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react';
  2. import logo from './logo.svg';
  3. import './App.css';
  4. import { BrowserRouter as Router , Link , withRouter } from 'react-router-dom';
  5. import Route from 'react-router-dom/Route';
  6. import Nav from './components/Home/Nav';
  7. import Footer from './components/Home/Footer';
  8. import Routes from './Routes';
  9. import Product from './components/Dashboard/Product';
  10.  
  11. class App extends Component {
  12.   render() {
  13.     return (
  14.       <div className="App">
  15.         <h1>Ecom | Client-side | React Application</h1>
  16.         <br/>
  17.         <hr/>
  18.         <Nav />
  19.         {/* <Router>
  20.           <div>
  21.             <Route exact path="/dashboard/products" component={Product}/>
  22.           </div>
  23.         </Router> */}
  24.         <Routes />
  25.         <Footer />
  26.       </div>
  27.     );
  28.   }
  29. }
  30.  
  31. export default App;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top