mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-07 06:02:07 +08:00
kafka-manager 2.0
This commit is contained in:
15
kafka-manager-console/src/routers/index.tsx
Normal file
15
kafka-manager-console/src/routers/index.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import * as ReactDOM from 'react-dom';
|
||||
import { Provider } from 'mobx-react';
|
||||
import * as React from 'react';
|
||||
import Router from './router';
|
||||
|
||||
const renderApp = () => {
|
||||
ReactDOM.render(
|
||||
<Provider>
|
||||
<Router />
|
||||
</Provider>,
|
||||
document.getElementById('root'),
|
||||
);
|
||||
};
|
||||
|
||||
renderApp();
|
||||
Reference in New Issue
Block a user