We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4419052 commit 4f18229Copy full SHA for 4f18229
src/main.tsx
@@ -1,5 +1,9 @@
1
+import { loader } from '@monaco-editor/react'
2
+import * as monaco from 'monaco-editor'
3
import { createRoot } from 'react-dom/client'
4
import App from './App.tsx'
5
import './tailwind.css'
6
7
+loader.config({ monaco })
8
+
9
createRoot(document.getElementById('root')!).render(<App />)
0 commit comments