mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-01 12:47:55 +01:00
docs: update homepage
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
docus: {
|
docus: {
|
||||||
title: 'tRPC Nuxt',
|
title: 'tRPC Nuxt',
|
||||||
|
description: 'End-to-end typesafe APIs in Nuxt applications.',
|
||||||
image: 'https://og-image.vercel.app/tRPC-Nuxt',
|
image: 'https://og-image.vercel.app/tRPC-Nuxt',
|
||||||
alt: 'tRPC-Nuxt cover',
|
alt: 'tRPC-Nuxt cover',
|
||||||
url: 'https://trpc-nuxt.vercel.app',
|
url: 'https://trpc-nuxt.vercel.app',
|
||||||
@@ -12,12 +13,17 @@ export default defineAppConfig({
|
|||||||
level: 1
|
level: 1
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
credits: true,
|
credits: {
|
||||||
icons: [
|
icon: 'IconDocus',
|
||||||
|
text: 'Powered by Docus',
|
||||||
|
href: 'https://docus.com',
|
||||||
|
},
|
||||||
|
iconLinks: [
|
||||||
{
|
{
|
||||||
label: 'NuxtJS',
|
label: 'NuxtJS',
|
||||||
href: 'https://nuxtjs.org',
|
href: 'https://nuxt.com',
|
||||||
component: 'IconNuxt'
|
// @ts-expect-error: IDK nuxt
|
||||||
|
component: 'IconNuxtLabs'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,5 +27,6 @@ End-to-end typesafe APIs in Nuxt applications.
|
|||||||
- Automatic typesafety
|
- Automatic typesafety
|
||||||
- Snappy DX
|
- Snappy DX
|
||||||
- Autocompletion on the client, for inputs, outputs and errors
|
- Autocompletion on the client, for inputs, outputs and errors
|
||||||
|
- Leverages [useAsyncData](https://nuxt.com/docs/api/composables/use-async-data)
|
||||||
::
|
::
|
||||||
::
|
::
|
||||||
|
|||||||
Reference in New Issue
Block a user