标签: 前端 vue.js monoca-editor vitevue2 monoca-editor使用SQL:自动补全、自定义颜色、格式化代码、标记错误 一、安装 yarn add monaco-editor yarn add vite-plugin-monaco-editor -D 二、配置vite.config.js import { defineConfig } from 'vite'