Skip to content

Nuxt Layers - generated @source for layer directories #31722

Closed

Description

@deetz99

Tailwind V4 requires a @source directive in the css files to scan any styles that are inside a dependency (Our layers are dependencies of our apps).

We have a current workaround to scan these dependencies but on occasion some styling seems to still be missing.

Nuxt UI V4.3.0 introduced a feature to scan layer directories automatically.

Assuming this works correctly through nested layers, we should be able to remove this workaround code and have all styles generated for us.

Nuxt UI PR

Nuxt UI Getting Started

Screenshot 2025-12-17 at 10.19.43 AM.png

Activity

  1. added theissue type on Dec 17, 2025
  2. removed theissue type on Dec 17, 2025
  3. added
    Nuxt Layers
    on Dec 17, 2025
  4. self-assigned this
    on Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Colin EgressNuxt Layers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions