Layers from pnpm workspace not compile

Open
#1,003 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
nuxtjs, tailwindcss, typescript

Research direction

Start with the linked GitHub reproduction or StackBlitz project and compare the generated CSS for classes used by the base layer with those used on the /test page. Trace the Nuxt layer and Tailwind scanning/build integration; done means classes from a layer package in the pnpm workspace are compiled when the layer is extended.

Written by the indexing model from the issue text.

Description

bug
Environment
  • Operating System: Linux
  • Node Version: v22.14.0
  • Nuxt Version: 3.17.5
  • CLI Version: 3.25.1
  • Nitro Version: 2.11.13
  • Package Manager: pnpm@10.11.0
  • Builder: -
  • User Config: extends, compatibilityDate, devtools, ssr, modules
  • Runtime Modules: @nuxtjs/tailwindcss@7.0.0-beta.0
  • Build Modules: -
Reproduction
Describe the bug

Nuxt layer not compile when extended from pnpm workspace pacakge

home page and layout classes from base layer not compiled (scanned) but classes in /test page compiled.

Additional context

I using same pnpm workspace for my project, i facing same bug while upgrading Nuxt UI to version 3.

Logs

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

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.

More from nuxt-modules/tailwindcss

All issues in nuxt-modules/tailwindcss

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.