diff --git a/apps/www/lib/blocks.ts b/apps/www/lib/blocks.ts index 520cbd6f49..dd44e976f4 100644 --- a/apps/www/lib/blocks.ts +++ b/apps/www/lib/blocks.ts @@ -55,7 +55,9 @@ export async function getBlock( return { ...chunk, - code: sourceFile.getText(), + code: sourceFile + .getText() + .replaceAll(`@/registry/${style}/`, "@/components/"), } }) )