## 在 `VS code` 中使用代码片段

1. 打开用户代码片段 `文件 > 首选项 > 用户片段`
2. 选择 `vue(Vue)` 或 `vue-html(Vue-html)`
3. 复制此文件夹中的代码片段
4. 粘贴到对应的 `.json` 文件里

## 示例

```json
{
    // 你原有的代码片段
    // 粘贴的此处，例如
    "Generate repackel page": {
        //...
    }
}

```

参考：[Create your own snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets)