From 8410ba3d70b93a2534d2d051777a39e6dde8f3cd Mon Sep 17 00:00:00 2001 From: Uzayer Masud Date: Sat, 23 Aug 2025 03:48:32 +0600 Subject: [PATCH] chore(templates): update vercel-website template for shadcn/ui compatibility --- templates/with-vercel-website/components.json | 2 +- templates/with-vercel-website/tailwind.config.mjs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/with-vercel-website/components.json b/templates/with-vercel-website/components.json index 24e429706ae..ff4511fe426 100644 --- a/templates/with-vercel-website/components.json +++ b/templates/with-vercel-website/components.json @@ -4,7 +4,7 @@ "rsc": true, "tsx": true, "tailwind": { - "config": "tailwind.config.js", + "config": "tailwind.config.mjs", "css": "src/app/(frontend)/globals.css", "baseColor": "slate", "cssVariables": true, diff --git a/templates/with-vercel-website/tailwind.config.mjs b/templates/with-vercel-website/tailwind.config.mjs index 44469ab102a..c5a4a550b68 100644 --- a/templates/with-vercel-website/tailwind.config.mjs +++ b/templates/with-vercel-website/tailwind.config.mjs @@ -107,7 +107,8 @@ const config = { to: { height: '0' }, }, }, - typography: () => ({ + + typography: { DEFAULT: { css: [ { @@ -145,7 +146,7 @@ const config = { }, ], }, - }), + }, }, }, }