Skip to content

Commit a7caf56

Browse files
committed
add in link for css assets for nuxt-config
1 parent 389c6bb commit a7caf56

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
9393
| Snippet | Purpose |
9494
| ---------------------- | ------------------- |
9595
| `nfont` | link to include fonts in a nuxt project, in nuxt-config |
96+
| `ncss` | link to css assets such as normalize |
9697

9798
### Extra (plaintext)
9899

@@ -102,5 +103,5 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
102103

103104

104105
## Contributing
105-
This is an open source project open to anyone. Contributions are welcome :[github](https://github.com/sdras/vue-vscode-snippets)
106+
This is an open source project open to anyone. Contributions are welcome [github](https://github.com/sdras/vue-vscode-snippets)
106107

snippets/nuxt-config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@
55
"{ rel: 'stylesheet', href: '${1:https://fonts.googleapis.com/css?family=Montserrat:600|Rufina:700}' }"
66
],
77
"description": "link to include fonts in a nuxt project, in nuxt-config"
8+
},
9+
"Nuxt Use CSS File": {
10+
"prefix": "ncss",
11+
"body": ["css: ['assets/${1:normalize.css}'],"],
12+
"description": "link to css assets such as normalize"
813
}
914
}

0 commit comments

Comments
 (0)