在vscode中配置prettier和eslint来统一我们的代码规范
之前写过一篇webstorm中使用prettire统一代码风格 传送门:https://www.wangdahai.cn/web/other-extension/7302.html 然后就有小伙伴问我vscode中怎么使用,还有如何配合es...
之前写过一篇webstorm中使用prettire统一代码风格 传送门:https://www.wangdahai.cn/web/other-extension/7302.html 然后就有小伙伴问我vscode中怎么使用,还有如何配合es...
做移动端的布局时,我们经常会用到动态单位rem来适用不同分辨率下的设备,但是设计图与rem之间的换算着实头疼。因为最近投靠vs code编辑器门下,所以就写一篇vs code下如何实现自动换算px和rem。 一、安装cssrem插件 直接在...
一、在项目根目录新建文件jsconfig.json 二、粘贴如下代码 { "exclude": ["node_modules"], "typeAcquisition": { "include": [ "jquery" ] } } 三、重启编...