A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vue-macros/vue-macros/commit/9ee43b341b45762776b9b126c203804cbbbae5df below:

add package version · vue-macros/vue-macros@9ee43b3 · GitHub

File tree Expand file treeCollapse file tree 50 files changed

+66

-48

lines changed

Filter options

Expand file treeCollapse file tree 50 files changed

+66

-48

lines changed Original file line number Diff line number Diff line change

@@ -0,0 +1,16 @@

1 +

<script setup lang="ts">

2 +

defineProps<{

3 +

name: string

4 +

}>()

5 +

</script>

6 + 7 +

<template>

8 +

<a

9 +

ml2

10 +

inline-block

11 +

:href="`https://www.npmjs.com/package/${name}`"

12 +

target="_blank"

13 +

>

14 +

<img alt="NPM Version" :src="`https://img.shields.io/npm/v/${name}`" />

15 +

</a>

16 +

</template>

Original file line number Diff line number Diff line change

@@ -1,6 +1,7 @@

1 1

import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client'

2 2

import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'

3 3

import Theme from 'vitepress/theme'

4 +

import PackageVersion from '../components/PackageVersion.vue'

4 5

import StabilityLevel from '../components/StabilityLevel.vue'

5 6

import WarnBadge from '../components/WarnBadge.vue'

6 7

import Layout from './Layout.vue'

@@ -17,6 +18,7 @@ export default {

17 18

enhanceApp({ app }: EnhanceAppContext) {

18 19

app.component('WarnBadge', WarnBadge)

19 20

app.component('StabilityLevel', StabilityLevel)

21 +

app.component('PackageVersion', PackageVersion)

20 22

app.use(NolebaseGitChangelogPlugin, {

21 23

mapAuthors: [

22 24

{

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4