import './App.css'; import { BrowserRouter as Router, Route, Redirect, Switch } from 'react-router-dom'; import Home from './Pages/Home'; import Login from './Pages/Login'; import Signup from './Pages/Signup'; import Product from "./Pages/Product"; import ProductsList from "./Pages/ProductsList"; import Admin from './Pages/Admin'; import ProductRegist from './Pages/ProductRegist'; import ShoppingCart from './Pages/ShoppingCart'; import Payment from './Pages/Payment'; import Account from './Pages/Account'; import MainNav from './Components/MainNav'; import SubNav from './Components/SubNav'; function App() { return (
{console.log("match.params=",match.params(product))} {/* */} { window.location.href = 'https://compmath.korea.ac.kr'; return null; }} />
) } export default App;