From 32bc45e5018b2a0fab488400fec018cfbbb94773 Mon Sep 17 00:00:00 2001 From: Vasily Kuzin Date: Sun, 7 Aug 2022 17:13:22 +0300 Subject: [PATCH] Add nuxt-layout snippets #7 - nlink - nlink-param --- package.json | 4 ++++ snippets/nuxt-template.code-snippets | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 snippets/nuxt-template.code-snippets 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" + }, +}