Skip to content
Discussion options

You must be logged in to vote

The problem is that your CSS file (and tailwind CLI) lives in a nested folder. There are no other files to look at so nothing will be generated.

There are a few solutions to the problem:

  1. Run the Tailwind CSS CLI from the root
  2. Do what you are doing, but replace the import:
- @import "tailwindcss";
+ @import "tailwindcss" source(../../source);

That way Tailwind knows where to look for CSS classes.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jeremiahray
Comment options

@RobinMalfait
Comment options

Answer selected by jeremiahray
Comment options

You must be logged in to vote
1 reply
@wongjn
Comment options

wongjn Feb 23, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
4 participants
Converted from issue

This discussion was converted from issue #16510 on February 13, 2025 16:24.