Skip to content

Commit

Permalink
fix: import nuxt composables from #imports (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 8, 2023
1 parent 8f0ab46 commit cafb367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/2.get-started/1.guide/3.migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.use(vfm)
So this:

```ts [./plugins/vue-final-modal.ts]
import { defineNuxtPlugin } from '#app'
import { defineNuxtPlugin } from '#imports'
import { vfmPlugin } from 'vue-final-modal'

export default defineNuxtPlugin(nuxtApp => {
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/runtime/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createVfm } from 'vue-final-modal'
import { defineNuxtPlugin } from '#app'
import { defineNuxtPlugin } from '#imports'

export default defineNuxtPlugin((nuxtApp) => {
const vfm = createVfm()
Expand Down

0 comments on commit cafb367

Please sign in to comment.