mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
import * as ReactDOM from 'react-dom';
|
|
import { Provider } from 'mobx-react';
|
|
import * as React from 'react';
|
|
import Router from './router';
|
|
import 'styles/style.less';
|
|
|
|
const renderApp = () => {
|
|
ReactDOM.render(
|
|
<Provider>
|
|
<Router />
|
|
</Provider>,
|
|
document.getElementById('root'),
|
|
);
|
|
};
|
|
|
|
renderApp();
|