We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944cd12 commit 1d18b37Copy full SHA for 1d18b37
nuxt/plugin.ts
@@ -2,10 +2,12 @@ import VueNotion from "vue3-notion"
2
import { getPageBlocks, getPageTable } from "vue3-notion"
3
import { defineNuxtPlugin } from "#app"
4
5
-export default defineNuxtPlugin(({ vueApp, provide }) => {
+export default defineNuxtPlugin(({ vueApp }) => {
6
const notion = { getPageBlocks, getPageTable }
7
vueApp.use(VueNotion)
8
return {
9
- notion,
+ provide: {
10
+ notion,
11
+ },
12
}
13
})
0 commit comments