Skip to content

Commit c677f39

Browse files
committed
fix(nuxt): prefer filesystem path over alias
1 parent d85944a commit c677f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default defineNuxtModule<ModuleOptions>({
7272
getContents: () => `export default ${JSON.stringify(moduleOptions)}`,
7373
})
7474

75-
const componentPath = await resolvePath('@vueuse/schema-org/components')
75+
const componentPath = await resolvePath(`${schemaOrgPath}/runtime/components`)
7676
for (const component of schemaOrgComponents) {
7777
await addComponent({
7878
name: component,

0 commit comments

Comments
 (0)