Feat(CodeEditor): Support jsx highlight

Chang theme of monaco. Support jsx highlight.
This commit is contained in:
2024-10-23 15:44:25 +08:00
parent 1cdd1e5a93
commit a467ad2021
10 changed files with 484 additions and 60 deletions

View File

@@ -29,6 +29,7 @@
"@dnd-kit/utilities": "^3.2.2",
"@marsidev/react-turnstile": "^1.0.2",
"@monaco-editor/react": "^4.6.0",
"@shikijs/monaco": "^1.22.0",
"antd": "^5.21.4",
"antd-style": "^3.7.0",
"axios": "1.7.4",
@@ -44,12 +45,12 @@
"match-sorter": "^6.3.4",
"moment": "^2.30.1",
"monaco-editor": "^0.52.0",
"monaco-jsx-syntax-highlight": "^1.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-draggable": "^4.4.6",
"react-router": "^6.27.0",
"react-router-dom": "^6.27.0",
"shiki": "^1.22.0",
"size-sensor": "^1.0.2",
"vanilla-tilt": "^1.8.1"
},