Skip to content

Commit a1d2f1a

Browse files
committed
docs: wip nuxt
1 parent e770a15 commit a1d2f1a

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ export default defineConfig({
130130
text: 'Options API',
131131
link: '/guide/options-api-realtime-data',
132132
},
133+
{
134+
text: 'SSR',
135+
link: '/guide/ssr',
136+
},
137+
{
138+
text: 'Nuxt',
139+
link: '/guide/nuxt',
140+
},
133141
// {
134142
// text: 'Querying the database',
135143
// link: '/guide/querying',

docs/guide/nuxt.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
11
# Nuxt.js
22

3-
WIP
3+
:::warn
4+
The Nuxt module and this docs are a WIP. Things might not work yet.
5+
:::
6+
7+
Install
8+
9+
```bash
10+
npm install nuxt-vuefire
11+
```
12+
13+
Add it to your nuxt config:
14+
15+
```ts
16+
import { defineNuxtConfig } from 'nuxt/config'
17+
import VueFire from 'nuxt-vuefire'
18+
19+
export default defineNuxtConfig({
20+
modules: [VueFire, {
21+
/* options */
22+
}],
23+
})
24+
```

0 commit comments

Comments
 (0)