Solutions CRLF换行替换为LF
This commit is contained in:
		
							
								
								
									
										27
									
								
								Solutions.md
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								Solutions.md
									
									
									
									
									
								
							@@ -2,6 +2,33 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### 2022.10
 | 
					### 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'
 | 
					#### 2022.10.21 前端 npm run serve 时报错,提示:Module not found: Error: Can't resolve 'element-plus/lib/locale'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user