App.js 551 Bytes
Newer Older
1
2
3
4
5
6
7
8
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import HomePage from "./pages/HomePage";
import LoginPage from "./pages/LoginPage";
import SignupPage from "./pages/SignupPage";
import MovieListPage from "./pages/MovieListPage";
import MoviePage from "./pages/MoviePage";
import TheaterPage from "./pages/TheaterPage";
import MyPage from "./pages/MyPage";
Jiwon Yoon's avatar
Jiwon Yoon committed
9
10
11

function App() {
  return (
12
13
14
15
16
    <Router>
      <Switch>
        <Route exact path="/" component={HomePage} />
      </Switch>
    </Router>
Jiwon Yoon's avatar
Jiwon Yoon committed
17
18
19
20
  );
}

export default App;