diff --git a/Solutions.md b/Solutions.md index 8c4df19..8d0cb53 100644 --- a/Solutions.md +++ b/Solutions.md @@ -2,6 +2,33 @@ ### 2022.10 +#### 2022.10.22 CRLF换行替换为LF + +VSCode:安装 `EditorConfig for VS Code` 插件,然后添加 `.editorconfig` 文件: + +```ini +# http://editorconfig.org +root = true + +[*] +end_of_line = lf + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false + +``` + +IDEA:File → File Properties → Line Separators → LF - Unix and macOS (\n) + +参考: + +https://juejin.cn/post/6860322397447258119 + +https://blog.csdn.net/Li_haiyu/article/details/123852105 + + + #### 2022.10.21 前端 npm run serve 时报错,提示:Module not found: Error: Can't resolve 'element-plus/lib/locale' ```bash