We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cb5ade commit c9c7d47Copy full SHA for c9c7d47
src/module.ts
@@ -67,7 +67,7 @@ export default defineNuxtModule<ModuleOptions>({
67
addComponent({
68
name: options.componentName || 'Icon',
69
global: true,
70
- filePath: resolver.resolve('./runtime/components/index'),
+ filePath: await resolver.resolvePath('./runtime/components/index'),
71
})
72
addServerHandler({
73
route: `${options.localApiEndpoint || '/api/_nuxt_icon'}/:collection`,
0 commit comments