Download .vscode/global.code-snippets from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 794 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/.vscode/global.code-snippets
- Command line
-
hf download hf://spaces/binhugg3/admin/.vscode/global.code-snippets
-
curl -L -o global.code-snippets https://huggingface.co/spaces/binhugg3/admin/resolve/main/.vscode/global.code-snippets
794 Bytes
| { | |
| "import": { | |
| "scope": "javascript,typescript", | |
| "prefix": "im", | |
| "body": ["import { $2 } from '$1';"], | |
| "description": "Import a module", | |
| }, | |
| "export-all": { | |
| "scope": "javascript,typescript", | |
| "prefix": "ex", | |
| "body": ["export * from '$1';"], | |
| "description": "Export a module", | |
| }, | |
| "vue-script-setup": { | |
| "scope": "vue", | |
| "prefix": "<sc", | |
| "body": [ | |
| "<script setup lang=\"ts\">", | |
| "const props = defineProps<{", | |
| " modelValue?: boolean,", | |
| "}>()", | |
| "$1", | |
| "</script>", | |
| "", | |
| "<template>", | |
| " <div>", | |
| " <slot/>", | |
| " </div>", | |
| "</template>", | |
| ], | |
| }, | |
| "vue-computed": { | |
| "scope": "javascript,typescript,vue", | |
| "prefix": "com", | |
| "body": ["computed(() => { $1 })"], | |
| }, | |
| } | |