Skip to content

Commit 3e5a068

Browse files
committed
add nuxt-llms
1 parent 55a392c commit 3e5a068

File tree

4 files changed

+47
-4
lines changed

4 files changed

+47
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
title: Essential
1+
title: Essentials

nuxt.config.ts

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export default defineNuxtConfig({
55
'@nuxt/image',
66
'@nuxt/ui-pro',
77
'@nuxt/content',
8-
'nuxt-og-image'
8+
'nuxt-og-image',
9+
'nuxt-llms'
910
],
1011

1112
devtools: {
@@ -40,5 +41,31 @@ export default defineNuxtConfig({
4041

4142
icon: {
4243
provider: 'iconify'
44+
},
45+
46+
llms: {
47+
domain: 'https://docs-template.nuxt.dev/',
48+
title: 'Nuxt UI Pro - Docs template',
49+
description: 'A template for building documentation with Nuxt UI Pro and Nuxt Content',
50+
full: {
51+
title: 'Nuxt UI Pro - Docs template Full Documentation',
52+
description: 'This is the full documentation for the Nuxt UI Pro - Docs template'
53+
},
54+
sections: [
55+
{
56+
title: 'Getting Started',
57+
contentCollection: 'docs',
58+
contentFilters: [
59+
{ field: 'path', operator: 'LIKE', value: '/getting-started%' }
60+
]
61+
},
62+
{
63+
title: 'Essentials',
64+
contentCollection: 'docs',
65+
contentFilters: [
66+
{ field: 'path', operator: 'LIKE', value: '/essentials%' }
67+
]
68+
}
69+
]
4370
}
4471
})

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@nuxt/image": "^1.9.0",
2020
"@nuxt/ui-pro": "3.0.0-alpha.13",
2121
"nuxt": "^3.15.2",
22+
"nuxt-llms": "0.1.0",
2223
"nuxt-og-image": "^4.1.2"
2324
},
2425
"devDependencies": {
@@ -28,7 +29,9 @@
2829
"vue-tsc": "^2.2.0"
2930
},
3031
"pnpm": {
31-
"onlyBuiltDependencies": ["better-sqlite3"]
32+
"onlyBuiltDependencies": [
33+
"better-sqlite3"
34+
]
3235
},
3336
"packageManager": "[email protected]"
3437
}

pnpm-lock.yaml

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)