Skip to content

Commit

Permalink
fix: import nuxt composables from #imports (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 9, 2023
1 parent 808d787 commit 71e1b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lazyload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function resolveLazyload (config: Options) {

return {
filename: `${libraryName}-lazyload.plugin.mjs`,
getContents: () => `import { defineNuxtPlugin } from '#app';
getContents: () => `import { defineNuxtPlugin } from '#imports';
import { Lazyload } from 'vant';
export default defineNuxtPlugin(nuxtApp => {
Expand Down

0 comments on commit 71e1b35

Please sign in to comment.