import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import ForgotPassword from './auth/forgot_password'; import ForgotPasswordComplete from './auth/forgot_password/complete'; import ForgotPasswordReset from './auth/forgot_password/reset'; import Login from './auth/login'; import SignUpTemporary from './auth/register/temporary'; import SignUp from './auth/register'; import SignUpComplete from './auth/register/complete'; import SignUpError from './auth/register/error'; import Meeting from './meeting'; import MeetingDetail from './meeting/detail'; import Parent from './parent'; import ParentDetail from './parent/detail'; import Profile from './profile'; import ProfileDetail from './profile/detail'; import ProfileEdit from './profile/edit'; import ProfilePasswordEdit from './profile/password_edit'; import ProfileWithdrawal from './profile/withdrawal'; import WithdrawalComplete from './withdrawal/complete'; import Search from './search'; import { BrowserRouter, Route, Switch } from 'react-router-dom'; export default class ChildApp extends Component { render() { return ( ); } } if(document.getElementById('c-app')){ ReactDOM.render( , document.getElementById('c-app') ) }