
vscode
走_开
这个作者很懒,什么都没留下…
展开
-
vscode给vue3添加模板片段
vscode给vue3添加模板片段{ // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible varia原创 2021-04-27 11:07:30 · 584 阅读 · 0 评论 -
使用vscode新建vue模板
目标:我们希望每次新建.vue文件后,VSCODE能够根据配置,自动生成我们想要的内容。方法:打开VSCODE编辑器,依次选择“文件 -> 首选项 -> 用户代码片段”,此时,会弹出一个搜索框,我们输入vue, 如下:选择vue后,VSCODE会自动打开一个名字为vue.json的文件,复制以下内容到这个文件中:{ // Place your snip...转载 2019-08-30 16:20:52 · 182 阅读 · 0 评论