nuxt-modules / nuxt-modules/tailwindcss

Docker environment not injecting `tailwind.css`

Open
#695 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has-workaround pending
Dominant language
TypeScript
Stars
1.9k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

Here is the screenshot of code:

image

In local it works fine, and shows a gradient color around the button

But in production or on running npx nuxt generate

It doesn't show the gradient color.

On doing inspect element it shows the class present in source code, but doesn't gets applied somehow

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the gradient behavior in the Docker environment and with npx nuxt generate, then compare the generated production output with the working local build. Inspect why the tailwind.css styles are present in the source element but not applied; done means the gradient appears in production and generated builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nuxtjs, tailwindcss, typescript
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.