Badgen
Fast badge generating service.
The globally registered Badgen Component can be used to easily link to npm or github packages.
Originally you have to use an image uri like
https://badgen.net/badge/:subject/:status/:color?icon=githubto generate a badge button like this:
Using Component
You can use the component, to easily generate buttons for npm and git.
Code
vue
<Badgen package="vue"/>Output:
Have a look into .vitepress/theme/components/Badgen.vueto see more options.