Skip to content

Commit 1d18b37

Browse files
committed
fix missing provide in plugin
1 parent 944cd12 commit 1d18b37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nuxt/plugin.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ import VueNotion from "vue3-notion"
22
import { getPageBlocks, getPageTable } from "vue3-notion"
33
import { defineNuxtPlugin } from "#app"
44

5-
export default defineNuxtPlugin(({ vueApp, provide }) => {
5+
export default defineNuxtPlugin(({ vueApp }) => {
66
const notion = { getPageBlocks, getPageTable }
77
vueApp.use(VueNotion)
88
return {
9-
notion,
9+
provide: {
10+
notion,
11+
},
1012
}
1113
})

0 commit comments

Comments
 (0)