10 行
260 B
React
10 行
260 B
React
![]() |
import ReactDOM from 'react-dom';
|
||
|
import AdminApp from './admin';
|
||
|
|
||
|
// ----------------------------------------------------------------------
|
||
|
if(document.getElementById('admin-app')){
|
||
|
ReactDOM.render(
|
||
|
<AdminApp />,
|
||
|
document.getElementById('admin-app')
|
||
|
)
|
||
|
}
|