准备投入生产环节

This commit is contained in:
2025-07-28 21:11:37 +08:00
parent c1d4963395
commit 941f5d183b
4 changed files with 47 additions and 17 deletions

View File

@@ -15,62 +15,62 @@ const items = ref<NavigationMenuItem[][]>([
label: 'defineShortcuts',
icon: 'lucide-file-text',
description: 'Define shortcuts for your application.',
to: '/composables/define-shortcuts'
to: '/'
},
{
label: 'useOverlay',
icon: 'lucide-file-text',
description: 'Display a modal/slideover within your application.',
to: '/composables/use-overlay'
to: '/'
},
{
label: 'useToast',
icon: 'lucide-file-text',
description: 'Display a toast within your application.',
to: '/composables/use-toast'
to: '/'
}
]
},
{
label: 'Components',
icon: 'lucide-box',
to: '/components',
to: '',
children: [
{
label: 'Link',
icon: 'lucide-file-text',
description: 'Use NuxtLink with superpowers.',
to: '/components/link'
to: '/'
},
{
label: 'Modal',
icon: 'lucide-file-text',
description: 'Display a modal within your application.',
to: '/components/modal'
to: '/'
},
{
label: 'NavigationMenu',
icon: 'lucide-file-text',
description: 'Display a list of links.',
to: '/components/navigation-menu'
to: '/'
},
{
label: 'Pagination',
icon: 'lucide-file-text',
description: 'Display a list of pages.',
to: '/components/pagination'
to: ''
},
{
label: 'Popover',
icon: 'lucide-file-text',
description: 'Display a non-modal dialog that floats around a trigger element.',
to: '/components/popover'
to: '/'
},
{
label: 'Progress',
icon: 'lucide-file-text',
description: 'Show a horizontal bar to indicate task progression.',
to: '/components/progress'
to: '/'
}
]
}

View File

@@ -54,6 +54,9 @@ export default defineNuxtConfig({
},
icon: {
provider: 'iconify'
}
clientBundle: {
scan: true,
sizeLimitKb: 512,
},
},
})

View File

@@ -1,8 +1,28 @@
{
"name": "nuxt-ui-pro-template-docs",
"name": "Estel Docs",
"private": true,
"type": "module",
"scripts": {
"description": "简约文档,但功能强大",
"packageManager": "pnpm@10.13.1",
"author": "Estel",
"license": "MIT",
"version": "1.0.0",
"homepage": "https://lijue.me",
"repository": {
"type": "git",
"url": "https://github.com/estel-li/estel-docs"
},
"keywords": [
"markdown",
"docs",
"vue",
"nuxt",
"documentation-tool",
"nuxt-content",
"shadcn-vue"
],
"main": "./nuxt.config.ts",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
@@ -27,6 +47,8 @@
"@iconify-json/lucide": "^1.2.57",
"@iconify-json/simple-icons": "^1.2.43",
"@nuxt/eslint": "^1.5.2",
"@nuxt/fonts": "^0.11.4",
"@nuxt/icon": "^1.15.0",
"@vueuse/core": "^13.5.0",
"eslint": "^9.31.0",
"lucide": "^0.526.0",
@@ -44,6 +66,5 @@
"ignoredBuiltDependencies": [
"vue-demi"
]
},
"packageManager": "pnpm@10.13.1"
}
}

8
pnpm-lock.yaml generated
View File

@@ -51,6 +51,12 @@ importers:
'@nuxt/eslint':
specifier: ^1.5.2
version: 1.5.2(@vue/compiler-sfc@3.5.17)(eslint-plugin-import-x@4.16.1(@typescript-eslint/utils@8.37.0(eslint@9.31.0(jiti@2.4.2))(typescript@5.8.3))(eslint@9.31.0(jiti@2.4.2)))(eslint@9.31.0(jiti@2.4.2))(magicast@0.3.5)(typescript@5.8.3)(vite@7.0.6(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.0))
'@nuxt/fonts':
specifier: ^0.11.4
version: 0.11.4(@netlify/blobs@9.1.2)(db0@0.3.2(better-sqlite3@12.2.0))(ioredis@5.6.1)(magicast@0.3.5)(vite@7.0.6(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.0))
'@nuxt/icon':
specifier: ^1.15.0
version: 1.15.0(magicast@0.3.5)(vite@7.0.6(@types/node@24.0.7)(jiti@2.4.2)(lightningcss@1.30.1)(terser@5.43.1)(yaml@2.8.0))(vue@3.5.17(typescript@5.8.3))
'@vueuse/core':
specifier: ^13.5.0
version: 13.5.0(vue@3.5.17(typescript@5.8.3))
@@ -7502,7 +7508,7 @@ snapshots:
consola: 3.4.2
css-tree: 3.1.0
defu: 6.1.4
esbuild: 0.25.6
esbuild: 0.25.8
fontaine: 0.6.0
h3: 1.15.3
jiti: 2.4.2