Skip to content

Commit 73ca8ab

Browse files
committed
docs: update navigation links and add version from package.json
1 parent 3a32534 commit 73ca8ab

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/.vitepress/config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from 'vitepress'
2+
import { version } from '../../package.json'
23

34
export default defineConfig({
45
title: 'Nuxt UI FormKit',
@@ -74,7 +75,11 @@ export default defineConfig({
7475
{ text: 'Components', link: '/components/inputs', activeMatch: '/components/' },
7576
{ text: 'Examples', link: '/examples/', activeMatch: '/examples/' },
7677
{
77-
text: 'v1.0.3',
78+
text: 'Playground',
79+
link: 'https://nuxt-ui-formkit.netlify.app/',
80+
},
81+
{
82+
text: version,
7883
items: [
7984
{ text: 'Changelog', link: 'https://github.com/sfxcode/nuxt-ui-formkit/blob/main/CHANGELOG.md' },
8085
{ text: 'Contributing', link: 'https://github.com/sfxcode/nuxt-ui-formkit/blob/main/.github/CONTRIBUTING.md' },

0 commit comments

Comments
 (0)