mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat: init @affine/docs (#2849)
This commit is contained in:
14
apps/docs/src/index.tsx
Normal file
14
apps/docs/src/index.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import './index.css';
|
||||
|
||||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { serve } from 'waku/client';
|
||||
|
||||
const App = serve('App');
|
||||
const rootElement = (
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>
|
||||
);
|
||||
|
||||
createRoot(document.getElementById('root') as HTMLElement).render(rootElement);
|
||||
Reference in New Issue
Block a user