Linked Questions

55 votes
14 answers
66k views

The border-border class does not exist. If border-border is a custom class, make sure it is defined within a @layer directive. globals.css @tailwind base; @tailwind components; @tailwind utilities; @...
23 votes
8 answers
41k views

I've been using TailwindCSS for my projects for a long time, and I'm used to first installing the package and then creating the tailwind.config.js file using the init process. I did the same for ...
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 ...
8 votes
4 answers
13k views

I'm trying to set up Shadcn UI in a new React.js project using Vite with JavaScript, but I'm encountering some issues. Steps Taken for Shadcn UI: Created a new React.js project with Vite and selected ...
16 votes
3 answers
24k views

My tailwind.config.js in v3 looks like this, but I can't find a way to use it in v4: theme: { extend: { colors: { lightHover: '#fcf4ff', darkHover: '#2a004a', darktheme: '#...
10 votes
1 answer
7k views

I used this setup guide for setting TailwindCSS with my Angular application. However there is no tailwind.config.js. I tried a lot of online blogs but didn't work. How can I setup tailwind.config.js ...
13 votes
2 answers
22k views

Not one LLM was able to help me fix this issue, so here I am. I'm building a Vite + React + TS project and it fails to build because of this error: [plugin:vite:css] [postcss] It looks like you're ...
4 votes
1 answer
3k views

I'm following the instruction Here trying to make HeroUI works with React app created via Vite. However, it doesn't seem to be working! Tailwind CSS on the other hand is working perfectly, app running ...
5 votes
1 answer
6k views

After running the npm run dev, it shows this: [plugin:vite:esbuild] The service is no longer running My config files are properly set up although I don't have a config file for PostCSS also. vite....
2 votes
1 answer
9k views

I was running Tailwind 3.4.17 in my Vite React app, but I wanted to upgrade it, so I ran 'npx @tailwindcss/upgrade' following this guide and expecting an easy migration. I now get this error from the ...
oliver's user avatar
  • 23
0 votes
3 answers
5k views

Here is the tailwind.config.ts file I need to add in my project, but in tailwind v4 I have no tailwind.config.ts file. Please tell me a fix to solve this problem. I have been trying to use Aceternity ...
2 votes
2 answers
1k views

When I run the build script in my svelte kit tailwind project, with Tailwind v4, it add every single tailwind color. I only use one single tailwind color, so I'd like to remove them. I spent a while ...
2 votes
1 answer
2k views

I'm working on an Angular 19 project with Tailwind CSS 4. When I make a typo in a class inside my styles.css, Angular throws an error in the console, which is expected. However, even after fixing the ...
4 votes
2 answers
6k views

I'm trying to configure Hero UI (or any component library) with the latest versions of Tailwind CSS and Next.js. However, I'm facing issues because there's no tailwind.config.js file in my project, ...
0 votes
1 answer
858 views

I am trying to learn some web dev and starting to learn typescript with react and tailwind using npm and vite... I was making the initial set up via. tailwind page: https://tailwindcss.com/docs/...

15 30 50 per page
1
2 3