Skip to content

Commit

Permalink
fix: dts gen for runtime plugins, fix #214
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 23, 2024
1 parent ec95615 commit 6515a80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { addAPIProvider, _api, disableCache } from '@iconify/vue'
import type { Plugin } from 'nuxt/app'
import type { NuxtIconRuntimeOptions } from '../types'
import { defineNuxtPlugin, useAppConfig, useRuntimeConfig } from '#imports'

Expand Down Expand Up @@ -28,4 +29,4 @@ export default defineNuxtPlugin({

addAPIProvider('', { resources })
},
})
}) as Plugin

0 comments on commit 6515a80

Please sign in to comment.