Linked Questions

6 votes
1 answer
8k views

I'm trying to set up Tailwind CSS in a React project using Vite. Here's what I did: Installed the required dependencies: npm install -D tailwindcss postcss autoprefixer vite Attempted to initialize ...
-5 votes
1 answer
1k views

Whenever i am executing the command: npx tailwindcss init -p I am getting the following error: npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: npm ...
0 votes
0 answers
508 views

I am going to do a project. first i npx create-react-app it-club-hub run this command. after i cd it-club-hub. after i npm install react-router-dom tailwindcss @heroicons/react axios run this ...
1 vote
0 answers
107 views

npx tailwindcss init npx: installed 1 in 1.127s command not found: tailwindcss I did try another command npx tailwindcss-cli@latest init -p and created tailwind.config.js folder. But I do want to ...
48 votes
23 answers
207k views

I tried to use CSS, now I'm just installing TailwindCSS with NPM, and then I build the CSS and provide the output.css. But, when I use the bg-black class in a button for testing, it's still not ...
28 votes
20 answers
91k views

I created a new react-ts app using yarn create @vitejs/app my-app --template react-ts. I installed tailwind using yarn add --dev tailwindcss@latest postcss@latest autoprefixer@latest. I initialized ...
19 votes
11 answers
31k views

I created a React application using Vite and used the documentation provided here to install Tailwind: Tailwind CSS Installation Guide. However, it's not picking up any of the Tailwind styles. ...
22 votes
9 answers
30k views

I'm currently using Tailwind v3 in my Angular project (https://github.com/edissyum/opencapture/tree/dev_nch). Today I tried to upgrade to Tailwind v4, but without success. I didn't use PostCSS, I just ...
11 votes
6 answers
31k views

I'm using vite 0.16.6 and wanted to migrated a vuepress site to using vite. However I was unsure how to configure vite to using tailwindcss. in my index.css @tailwind base; @tailwind components; @...
26 votes
4 answers
71k views

10:04:32 PM [vite] Internal server error: [postcss] It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue ...
13 votes
8 answers
51k views

I'm following the documentation, however when use: npx tailwindcss init Not working: Error: Cannot find module 'C:\path\to\project\tailwindcss\lib\cli.js'
11 votes
10 answers
55k views

I installed TailwindCSS on my Next.js project, but I couldn't find the tailwind.config.js file. Here is the command I used to install: npm install -D tailwindcss postcss autoprefixer
8 votes
5 answers
30k views

I have already pre installed tailwind css for my react library and added a script called build-css but run it, npm run build-css it gives me following error : 'tailwindcss' is not recognized as an ...

15 30 50 per page
1
2 3 4 5