import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import Side from './side'; import Meeting from '../parent/meeting'; import MeetingDetail from '../parent/meeting/detail'; import MeetingAdd from '../parent/meeting/add'; import MeetingEdit from '../parent/meeting/edit'; import Favorite from '../parent/favorite'; import Search from '../parent/search'; import Child from '../parent/child'; import ChildAdd from '../parent/child/add'; import ChildEdit from '../parent/child/edit'; import ChildDetail from '../parent/child/detail'; import Profile from '../parent/profile'; import ProfileEdit from '../parent/profile/edit'; import ProfilePasswordEdit from '../parent/profile/password_edit'; import ProfileWithdrawal from '../parent/profile/withdrawal'; import ProfileWithdrawalComplete from '../parent/profile/withdrawal_complete'; import { BrowserRouter, Route, Switch } from 'react-router-dom' export default class App extends Component { render() { return (
); } } if(document.getElementById('p-app')){ ReactDOM.render( , document.getElementById('p-app') ) }