From 992e8f59fbc2a85c575c28312633639cc3631ae5 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Mon, 13 Jan 2025 10:06:33 +0000 Subject: [PATCH] Refactor: update nuxt-module paths for components --- packages/nuxt-module/src/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }) }) ); }