mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
playground: Add AST/Tokens/Formatter panels (#5859)
This commit is contained in:
parent
9ed7ceeb0a
commit
46a17d11f3
19 changed files with 1343 additions and 780 deletions
|
@ -2,6 +2,10 @@ import React from "react";
|
|||
import ReactDOM from "react-dom/client";
|
||||
import Editor from "./Editor";
|
||||
import "./index.css";
|
||||
import { loader } from "@monaco-editor/react";
|
||||
import { setupMonaco } from "./Editor/setupMonaco";
|
||||
|
||||
loader.init().then(setupMonaco);
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue