Home  >  Article  >  Web Front-end  >  What is vuejs snippet

What is vuejs snippet

藏色散人
藏色散人Original
2021-09-26 11:46:192690browse

vuejs snippet is a Vue2 snippet completion tool that adds Vue2 code snippets and syntax highlighting to Visual Studio Code.

What is vuejs snippet

The operating environment of this article: Windows 7 system, vue version 2.9.6, DELL G3 computer.

What is vuejs snippet?

VS Code plug-in Vue 2 Snippets (Vue2 snippet completion tool)

1. Introduction

This extension will Vue 2 code Snippet and syntax highlighting added to Visual Studio Code.

This plug-in adds syntax highlighting based on the latest Vue official syntax highlighting file, and adds code snippets based on the Vue 2 API.

Supported languages

  • VUE (.vue)
  • HTML format (.html)
  • Use Javascript (.js file)
  • Typescript (.TS)
  • Pug (.pug)

Official website address: https://marketplace.visualstudio.com/items?itemName=hollowtree.vue-snippets

2. Installation

ext install vue-snippets

3. Use

Note: No configuration is required after installation, but a restart is required. After installation, you can use the tips and code supplements in

js prompt


html Full:

vif command



##vfor command:


Recommended: "

The latest 5 vue.js video tutorial selections"

The above is the detailed content of What is vuejs snippet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn