Skip to content

Commit d8439d0

Browse files
committed
Tweak error message
1 parent 0d5b5fe commit d8439d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/versions/v4.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ interface ApiV4 {
4141
export async function loadV4(mod: ApiV4 | null, stylesheet: string | null): Promise<UnifiedApi> {
4242
// This is not Tailwind v4
4343
if (!mod || !mod.__unstable__loadDesignSystem) {
44-
throw new Error('TODO')
44+
throw new Error('Unable to load Tailwind CSS v4: Your installation of Tailwind CSS is not v4')
45+
4546
// TODO
4647
// mod = (await import('tailwindcss-v4')) as ApiV4
4748
}

0 commit comments

Comments
 (0)