mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
添加vscode快速生成vue3.0代码片段文档
This commit is contained in:
@@ -1,6 +1,37 @@
|
||||
## 1. hyper
|
||||
## 1. VsCode Plugs
|
||||
|
||||
please install TSLint、Vetur、vscode-icons、ES7 React
|
||||
|
||||
## 2. Quick generation of code fragment by vscode
|
||||
Ctrl+Shift+P Check configure user code fragment search vue.json Copy the code below Enter Vue in the .vue file and press enter
|
||||
```
|
||||
{
|
||||
"Vue3.0Quick template generation": {
|
||||
"prefix": "Vue3.0",
|
||||
"body": [
|
||||
"<template>",
|
||||
"\t<div>\n",
|
||||
"\t</div>",
|
||||
"</template>\n",
|
||||
"<script lang='ts'>",
|
||||
"export default {",
|
||||
"\tsetup(){",
|
||||
"\t\treturn{\n\n\t\t}",
|
||||
"\t},",
|
||||
"}",
|
||||
"</script>\n",
|
||||
"<style scoped>\n",
|
||||
"</style>",
|
||||
"$2"
|
||||
],
|
||||
"description": "Vue3.0"
|
||||
}
|
||||
}
|
||||
```
|
||||

|
||||
## 3. hyper
|
||||
|
||||

|
||||
|
||||
A beautification command panel plug-in, based on TS, version: windows, MAC, Linux
|
||||
Download address: https://hyper.is/#installation
|
||||
Download address: https://hyper.is/#installation
|
||||
|
||||
Reference in New Issue
Block a user