mirror of
https://github.com/morten-olsen/parcel.git
synced 2026-02-08 01:36:24 +01:00
10 lines
247 B
TypeScript
10 lines
247 B
TypeScript
import React from 'react';
|
|
import 'antd/dist/antd.css';
|
|
import { render } from 'react-dom';
|
|
import App from './App';
|
|
|
|
const root = document.createElement('div');
|
|
root.style.height = '100%';
|
|
document.body.appendChild(root);
|
|
render(<App />, root);
|