update docs

This commit is contained in:
Robert Soriano
2022-10-30 12:00:21 -07:00
parent 70c0b35c48
commit da6d738406
14 changed files with 52 additions and 46 deletions

View File

@@ -0,0 +1,5 @@
export default defineAppConfig({
docus: {
title: 'tRPC Nuxt',
},
})

View File

@@ -1,10 +1,11 @@
---
title: Installation
description: tRPC-Nuxt provides first class integration with tRPC.
---
# Installation
## 1. Add tRPC-Nuxt to existing Nuxt project
## 1. Add to existing Nuxt project
::code-group

View File

@@ -1,8 +0,0 @@
---
titleTemplate: '%s'
description: tRPC-Nuxt provides first class integration with tRPC.
---
# Introduction
tRPC-Nuxt provides end-to-end typesafe APIs with tRPC.io in Nuxt 3 applications.

View File

@@ -1,4 +1,5 @@
---
title: Usage
description: tRPC-Nuxt provides first class integration with tRPC.
---

View File

@@ -1,6 +0,0 @@
---
title: Introduction
description: '@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.'
---
hello intro

View File

@@ -1,6 +0,0 @@
---
title: Installation
description: '@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.'
---
hello intro

View File

@@ -1,6 +0,0 @@
---
title: Server
description: '@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.'
---
hello server

View File

@@ -1,6 +0,0 @@
---
title: Client
description: '@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.'
---
hello client

View File

@@ -0,0 +1,6 @@
---
title: Basic
description: tRPC-Nuxt provides first class integration with tRPC.
---
# Basic Example

View File

@@ -0,0 +1,6 @@
---
title: Multiple Routers
description: tRPC-Nuxt provides first class integration with tRPC.
---
# Multi Routers

View File

@@ -9,7 +9,7 @@ layout: page
---
cta:
- Get Started
- /get-started/introduction
- /get-started/installation
secondary:
- Star on GitHub ->
- https://github.com/wobsoriano/trpc-nuxt

View File

@@ -7,4 +7,10 @@ export default defineNuxtConfig({
build: {
transpile: [/content-edge/],
},
nitro: {
prerender: {
crawlLinks: true,
routes: ['/'],
},
},
})

View File

@@ -1,12 +0,0 @@
import { defineTheme } from '@nuxt-themes/config'
console.log('defineTheme', defineTheme)
export default defineTheme({
title: 'Nuxt 3',
cover: {
src: 'https://res.cloudinary.com/nuxt/image/upload/v1650870623/nuxt3-rc-social_z6qh3m.png',
alt: 'Nuxt 3 cover image',
},
aside: {
level: 1,
},
})

View File

@@ -0,0 +1,25 @@
import { defineTheme } from 'pinceau'
export default defineTheme({
title: 'asddsasda 3s',
cover: {
src: 'https://res.cloudinary.com/nuxt/image/upload/v1650870623/nuxt3-rc-social_z6qh3m.png',
alt: 'Nuxt 3 cover image',
},
aside: {
level: 1,
},
// colors: {
// primary: {
// 100: '#77b0db',
// 200: '#589ed3',
// 300: '#4e98d0',
// 400: '#398ccb',
// 500: '#398ccb',
// 600: '#2BAB71',
// 700: '#317eb9',
// 800: '#2e77af',
// 900: '#266290',
// },
// },
})