Home>Article>Development Tools> How to create a new vue template in vscode? Method introduction

How to create a new vue template in vscode? Method introduction

青灯夜游
青灯夜游 forward
2020-08-18 10:34:15 2769browse

How to create a new vue template in vscode? Method introduction

推荐:《vscode基础教程

先下载vue插件—— vue-helper

How to create a new vue template in vscode? Method introduction

文件/首选项/用户片段

How to create a new vue template in vscode? Method introduction

搜索vue

How to create a new vue template in vscode? Method introduction

在vue.json中粘贴以下代码

{ "Print to console": { "prefix": "vue", "body": [ "\n", "\n", "", "$2" ], "description": "Log output to console" } }

How to create a new vue template in vscode? Method introduction

保存,然后再使用模板的页面输入vue按tab健就好了

更多编程相关知识,可访问:编程入门!!

The above is the detailed content of How to create a new vue template in vscode? Method introduction. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete