多维表格

7 lines
181 B

import { defineNuxtPlugin, useApi } from '#imports'
export default defineNuxtPlugin((nuxtApp) => {
/** injects a global api instance */
nuxtApp.provide('api', useApi().api)
})