## perttier 保存时不会自动格式化属性排序、需要执行命令才能格式化 > xwk 2022.3.23 > 在 .vscode/settings.json 配置 ```json { "editor.codeActionsOnSave": { "source.fixAll": true } } ``` ## [Vue Router warn]: Unexpected error when starting the router: SyntaxError: Unexpected token '<' > xwk 2022.3.26 > script 中使用了 jsx 语法但是 lang 没有定义为 jsx 或者 tsx ## [Vue warn]: Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function. > xwk 0328 > el-tabs 使用 label 插槽,应该是 ElementPlus 的 BUG,[Github 已有 Issues](https://github.com/element-plus/element-plus/issues/6839) ## 偶现 SVG 图标颜色渲染异常 > xwk 0328 > 可能是 vite-plugin-svg-icons 插件导致的问题,改用 vite-svg-loader 插件