You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx shadcn@latest init
✔ Preflight checks.
✔ Verifying framework. Found Vite.
✖ Validating Tailwind CSS config. Found v4.
✔ Validating import alias.
No Tailwind CSS configuration found at /home/raven/job/portfolio/ss-react-boilerplate-js.
It is likely you do not have Tailwind CSS installed or have an invalid configuration.
Install Tailwind CSS then try again.
Visit https://tailwindcss.com/docs/guides/vite to get started.
Sass, Less, and Stylus
Tailwind CSS v4.0 is a full-featured CSS build tool designed for a specific workflow, and is not designed to be used with CSS preprocessors like Sass, Less, or Stylus.
Think of Tailwind CSS itself as your preprocessor — you shouldn't use Tailwind with Sass for the same reason you wouldn't use Sass with Stylus.
Since Tailwind is designed for modern browsers, you actually don't need a preprocessor for things like nesting or variables, and Tailwind itself will do things like bundle your imports and add vendor prefixes.
Describe the bug
In ts it works well but in js it does not work
I want my files to go inside like this
`
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": false,
"tailwind": {
"config": "",
"css": "src/shared/components/lib/shadcn/styles/sahdcn.scss",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "src/shared/components/lib/shadcn/components",
"utils": "src/shared/components/lib/shadcn/lib/utils",
"ui": "src/shared/components/lib/shadcn/components/ui",
"lib": "src/shared/components/lib/shadcn/lib",
"hooks": "src/shared/components/lib/shadcn/hooks"
},
"iconLibrary": "lucide"
}
`
but it does not work
From v4 tailwind use @use instead @import
Is there any way to insall shadcn in this project?
[https://github.com/ravenkim/ss-react-boilerplate-js]
Affected component/components
init
How to reproduce
Codesandbox/StackBlitz link
https://github.com/ravenkim/ss-react-boilerplate-js
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: