Files
  • src
    • index.js
    • App.css
    • App.js
    • index.css
    • logo.svg
  • package.json
src/index.js
1
2
3
4
5
6
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';

ReactDOM.render(<App />, document.getElementById('root'))
Create React App 2.0, node v10.1 linux/amd64