feat: init @affine/docs (#2849)

This commit is contained in:
Alex Yang
2023-06-25 21:18:23 +08:00
committed by GitHub
parent d8bb51a222
commit d525bd9113
18 changed files with 729 additions and 12 deletions

14
apps/docs/src/index.tsx Normal file
View 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);