#tailwind installtion using vite

46 messages · Page 1 of 1 (latest)

oak junco
#

tailwind isn't working

elfin geyser
#

bruh in your index.html you have specified /src/main.jsx...but where is src?

oak junco
#

this is the output

#

its overwriting the styling of css and im not getting suggestions while using tailwind styling

elfin geyser
#

can you show me your Tailwind config?

elfin geyser
#

because you are using vite...it automatically renders

oak junco
elfin geyser
#

where is tailwind.config.js

oak junco
#

there's not

elfin geyser
#

ohh

#

you need that

oak junco
#

I don't need that. I already made few projects and it was working

elfin geyser
#

do

 npx tailwind init
oak junco
#

and I just made a copy of a prev file and it's working

elfin geyser
#

to generate that file

#

but tailwind.config.js is required

oak junco
#

ig u don't need that with the current version

#

as I already made few projects using same instructions

#

and it was working fine

#

version : 4.0.1

elfin geyser
oak junco
elfin geyser
#

it's fine

#

yeah Tailwind latest version doesn't require a configuration file ig

#

oh

#

there is Tailwind cli now

oak junco
#

nvm its working

#

but the prblm is im not getting suggestion

#

nvm its solved

#

i reinstalled my tailwindcss intellisense

glossy flare
#

v4 is released

#

the tailwind config file is deprecated