mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-28 12:28:11 +08:00
7 lines
188 B
JavaScript
7 lines
188 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import App from './Main';
|
|
|
|
// Render the main component into the dom
|
|
ReactDOM.render(<App />, document.getElementById('app'));
|