We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nuxt-layout
1 parent 707ea01 commit 9c8c2aaCopy full SHA for 9c8c2aa
package.json
@@ -53,6 +53,10 @@
53
{
54
"language": "typescript",
55
"path": "./snippets/vue-router.code-snippets"
56
+ },
57
+ {
58
+ "language": "html",
59
+ "path": "./snippets/nuxt-template.code-snippets"
60
}
61
]
62
snippets/nuxt-template.code-snippets
@@ -0,0 +1,14 @@
1
+{
2
+ "NuxtLink": {
3
+ "prefix": "nlink",
4
+ "body": ["<NuxtLink to=\"/${1:path}\">${2:linkTitle}</NuxtLink>"],
5
+ "description": "Nuxt router link"
6
7
+ "NuxtLink with param": {
8
+ "prefix": "nlink-param",
9
+ "body": [
10
+ "<NuxtLink :to=\"`/${1:path}/${${2:param}}`\">${3:linkTitle}</NuxtLink>"
11
+ ],
12
+ "description": "Nuxt router link with param"
13
14
+}
0 commit comments