diff --git a/packages/nuxt-module/src/register.ts b/packages/nuxt-module/src/register.ts index 2f5e512e9..06d5eeadd 100644 --- a/packages/nuxt-module/src/register.ts +++ b/packages/nuxt-module/src/register.ts @@ -127,7 +127,7 @@ function registerStyles(resolvePath: any, registered: any, moduleOptions: Module styles.push({ name: `${item.as}Style`, as: `${item.as}Style`, - from: resolvePath({ name: `${item.as}Style`, as: `${item.as}Style`, from: `primevue/${item.as.toLowerCase()}/style`, type: 'style' }) + from: resolvePath({ name: `${item.as}Style`, as: `${item.as}Style`, from: `${item.from.toLowerCase()}/style`, type: 'style' }) }) ); }