vue3-notion
Version:
Vue 3 Unofficial Notion Renderer
14 lines (12 loc) • 319 B
text/typescript
import VueNotion from "vue3-notion";
import { getPageBlocks, getPageTable } from "vue3-notion";
import { defineNuxtPlugin } from "#app";
export default defineNuxtPlugin(({ vueApp }) => {
const notion = { getPageBlocks, getPageTable };
vueApp.use(VueNotion);
return {
provide: {
notion,
},
};
});