Skip to content

Add lancine doumbia #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
| `vcommit` | Commit to Vuex store in methods for mutation |
| `vdispatch` | Dispatch to Vuex store in methods for action |
| `vtest` | A simple unit testing component |
| `vfunc-m` | Extra method function |
| `vfunc-m-arg` | Extra method function with arguments |
| `vfunc-c` | Extra computed function |
| `vfunc-c-arg` | Extra computed function with arguments |
| `vapi-shell` | Empty export default function |

### Vue Composition API

Expand Down Expand Up @@ -154,6 +159,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
| `vbeforerouteenter` | Vue Router component guards beforeRouteEnter |
| `vbeforerouteupdate` | Vue Router component guards beforeRouteUpdate |
| `vbeforerouteleave` | Vue Router component guards beforeRouteLeave |
| `vroute-blob` | Vue Router route object for a webpage |

### Vue Config

Expand Down
13 changes: 12 additions & 1 deletion snippets/vue-script-router.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,16 @@
"},"
],
"description": "Vue Router route with per route code-splitting"
}
},
"Vue route blob": {
"prefix": ["vroute-blob"],
"body": [
"{",
"\tpath: \"/${1:pathName}\",",
"\tname: \"${2:routeName}\",",
"\tcomponent: ${3:componentName},",
"}",
],
"description": "Vue Router route blob"
},
}
48 changes: 47 additions & 1 deletion snippets/vue-script.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,5 +418,51 @@
"}"
],
"description": "Use Composition API within Options API"
}
},
"Vue extra method function": {
"prefix": ["vfunc-m"],
"body": [
"${1:funcName}(){",
"\t${2:JSExpr}",
"}",
],
"description": "Extra Vue Method function"
},
"Vue extra method function w argumemt": {
"prefix": ["vfunc-m-arg"],
"body": [

"${1:funcName}(${3:argLine}){",
"\t${2:JSExpr}",
"}",
],
"description": "Extra Vue Method function with argument"
},
"Vue extra computed function": {
"prefix": ["vfunc-c"],
"body": [
"${1:funcName}(){",
"\treturn ${2:JSExpr}",
"}",
],
"description": "Extra Vue Computed function"
},
"Vue extra computed function w argument": {
"prefix": ["vfunc-c-arg"],
"body": [
"${1:funcName}(${3:argLine}){",
"\treturn ${2:JSExpr}",
"}",
],
"description": "Extra Vue Computed function with argument"
},
"Vue empty api body": {
"prefix": ["vapi-shell"],
"body": [
"export default {",
"\t/*Define your API here please*/",
"};",
],
"description": "Vue blank api"
},
}