2024-05-21 02:13:54 +00:00
|
|
|
import React, { Suspense } from 'react';
|
2024-05-15 03:57:30 +00:00
|
|
|
import ReactDom from 'react-dom';
|
2024-05-21 02:13:54 +00:00
|
|
|
import { I18nextProvider } from 'react-i18next';
|
2024-05-15 03:57:30 +00:00
|
|
|
import Wiki from './pages/wiki2';
|
2024-05-21 02:13:54 +00:00
|
|
|
import i18n from './_i18n/i18n-sdoc-editor';
|
|
|
|
import Loading from './components/loading';
|
2024-05-15 03:57:30 +00:00
|
|
|
|
2024-05-21 02:13:54 +00:00
|
|
|
ReactDom.render(
|
|
|
|
<I18nextProvider i18n={i18n}>
|
|
|
|
<Suspense fallback={<Loading />}>
|
|
|
|
<Wiki />
|
|
|
|
</Suspense>
|
|
|
|
</I18nextProvider>,
|
|
|
|
document.getElementById('wrapper')
|
|
|
|
);
|