Skip to content

Commit 06a4084

Browse files
authored
chore: add badges
1 parent 0700330 commit 06a4084

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Nuxt Component Meta
22

3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
36
> Gather components metadata on build time and make them available on production
47
58
💡 This module depends on `nuxt3`
@@ -41,6 +44,13 @@ const { data: meta } = await useAsyncData('my-component', () => $fetch('/api/com
4144
</script>
4245
```
4346

47+
<!-- Badges -->
48+
[npm-version-src]: https://img.shields.io/npm/v/nuxt-component-meta/latest.svg?style=flat&colorA=002438&colorB=28CF8D
49+
[npm-version-href]: https://npmjs.com/package/nuxt-component-meta
50+
51+
[npm-downloads-src]: https://img.shields.io/npm/dt/nuxt-component-meta.svg?style=flat&colorA=002438&colorB=28CF8D
52+
[npm-downloads-href]: https://npmjs.com/package/nuxt-component-meta
53+
4454
## Development
4555

4656
1. Clone this repository

0 commit comments

Comments
 (0)