vs Code
前端华仔
前端程序猿一枚
展开
-
vue warnning:Error: Maximum recursive updates exceeded. This means you have a reactive effect that i
vue warnning:Error: Maximum recursive updates exceeded. This means you have a reactive effect that is mutating...原创 2022-09-19 15:18:14 · 2435 阅读 · 1 评论 -
用正则将带标签字符串转换成标签
1.后端同事给到数据"<p><img src=\"https://cbu01.alicdn.com/img/ibank/2019/837/044/12219440738_1848546139.400x400.jpg\" alt=\"0\" width=\"750\" /><img src=\"https://cbu01.alicdn.com/img/ibank/...原创 2020-05-07 17:02:12 · 1579 阅读 · 0 评论 -
VS Code快速创建vue模板(基于sass)
1.设置---用户代码片段---输入vue.json--enter--进入编辑页面2.vue.json代码如下(基于sass){ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>$0</div>", "</template...原创 2020-04-28 09:44:35 · 181 阅读 · 0 评论 -
vscode保存时自动格式化成ESLint风格
1.安装ESLint插件2.在设置--用户设置--setting.json中添加如下配置:{ "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": "html", "autoFix": tru...原创 2020-04-28 09:26:38 · 582 阅读 · 0 评论