![](../../asset/images/user/bgImg_default.jpeg)
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
vscode react 代码格式化
1. 安装vsocde插件:Prettier - Code formatter2.设置- 文本编辑器 - 文件 Associations 加上两条关联3. *.jsx文件保存时自动格式化代码,在设置settings.json里添加"[javascriptreact]": {// "editor.defaultFormatter": "esbenp.prettier-vscode""editor.f
![文章图片](https://i-blog.csdnimg.cn/blog_migrate/cover/a0611e7ee52854ace2f99801d23f486b.png)
vscode vue 里的less代码识别不了
1.查看vscode 里插件是否安装vetur,如果没有插件库里搜索vetur,点击install按钮,显示uninstall就说明安装好了;2.如果还是识别不了less代码,在file-->Preferences-->Settings 找到vetur 拉倒最下面点击Edit in settings.json添加一行代码:"files.associations": ...
到底了