feat: css injection editor

This commit is contained in:
dongchengjie
2024-05-13 22:58:25 +08:00
parent dc1abf8dcb
commit da4bf167ee
7 changed files with 60 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ export default defineConfig({
svgr(),
react(),
monacoEditor({
languageWorkers: ["editorWorkerService", "typescript"],
languageWorkers: ["editorWorkerService", "typescript", "css"],
customWorkers: [
{
label: "yaml",