11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import Bootstrap from './assets/stylesheets/bootstrap.min.css';
|
|
import App from './components/App/App';
|
|
|
|
let appEl = document.getElementById('app');
|
|
if(!appEl) // in case of old index.html in cache
|
|
appEl = document.querySelector('.app');
|
|
|
|
ReactDOM.render(<App />, appEl);
|