Created
June 10, 2024 00:40
-
-
Save javierllns/341cfd07e946eac440c900ef610a1334 to your computer and use it in GitHub Desktop.
A ShadcnUI config example with Typescript's path aliases [ React + Typescript + Tailwind (Shadcn uses tailwind under the hood) ].
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://ui.shadcn.com/schema.json", | |
"style": "new-york", | |
"rsc": false, | |
"tsx": true, | |
"tailwind": { | |
"config": "tailwind.config.js", | |
"css": "@view/App.css", | |
"baseColor": "slate", | |
"cssVariables": true, | |
"prefix": "" | |
}, | |
"aliases": { | |
"components": "@view/components", | |
"utils": "@view/lib/utils", | |
"ui": "@view/lib/ui" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment