Skip to content

How do I use TailwindCSS in JavaScript? #16791

Closed Answered by wongjn
User-Clb asked this question in Help
Discussion options

You must be logged in to vote

You may need to set the from member of the options object in the .process() call to some real path in the project, so that @import "tailwindcss"; resolves properly. I wasn't referring to the base parameter in the options object passed to the tailwindcss function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@User-Clb
Comment options

@User-Clb
Comment options

@wongjn
Comment options

wongjn Feb 25, 2025
Collaborator

Answer selected by User-Clb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants