This template should help get you started developing with Vue 3 in Vite.
element-plus
的el-menu
组件如果设置为router
模式,组件默认的background-color
, active-text-color
会失效
解决办法就是设置组件属性:default-active="route.path"
type IStandaloneCodeEditor = monaco.editor.IStandaloneCodeEditor;
// wrong
const editor = ref<IStandaloneCodeEditor>()
// right
const Editor: IStandaloneCodeEditor
// ...then init
在vue中使用monaco-editor elementPlus-issue
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint