diff --git a/package.json b/package.json
index 2cd1d85..4e1873a 100644
--- a/package.json
+++ b/package.json
@@ -53,6 +53,10 @@
{
"language": "typescript",
"path": "./snippets/vue-router.code-snippets"
+ },
+ {
+ "language": "html",
+ "path": "./snippets/nuxt-template.code-snippets"
}
]
}
diff --git a/snippets/nuxt-template.code-snippets b/snippets/nuxt-template.code-snippets
new file mode 100644
index 0000000..a58b95e
--- /dev/null
+++ b/snippets/nuxt-template.code-snippets
@@ -0,0 +1,14 @@
+{
+ "NuxtLink": {
+ "prefix": "nlink",
+ "body": ["${2:linkTitle}"],
+ "description": "Nuxt router link"
+ },
+ "NuxtLink with param": {
+ "prefix": "nlink-param",
+ "body": [
+ "${3:linkTitle}"
+ ],
+ "description": "Nuxt router link with param"
+ },
+}