Replies: 4 comments 4 replies
-
somone say: adhilnyy |
Beta Was this translation helpful? Give feedback.
-
Tailwind version 4 have new instructions, check this docs: https://tailwindcss.com/docs/upgrade-guide If you want use old method u have to use |
Beta Was this translation helpful? Give feedback.
-
how to setup this purge from tailwind.config.js in v4? |
Beta Was this translation helpful? Give feedback.
-
Encountered same annoying error : 1.) npm install tailwindcss @tailwindcss/vite 2.) Copy the given below file and paste it in ./vite.config.ts import { defineConfig } from 'vite' export default defineConfig({ 3.) Add the given below import in the top of your ./src/index.css @import "tailwindcss"; 4.) start your project once : 5.) add a link in the head tag of you ./index.html file start writing the tailwind utility classes indside the classname. If You don't see any sugastions of tailwind clssess then reinstall the 'Tailwind CSS IntelliSense' extension. It may take time but this will work. |
Beta Was this translation helpful? Give feedback.
-
Hello, when i run command "npx tailwindcss init" i am got "could not determine executable to run", my working environment node: v19.3.0, npm: 9.2.0, tailwindcss: 4.0.0
Beta Was this translation helpful? Give feedback.
All reactions