Skip to content

Shadcn startup guide needs to be updated #4633

@SteffanEnnis

Description

@SteffanEnnis

By default Tailwind will not scan the components exported as part of the @rjsf/shadcn theme using Vite

This can lead to confusion when migrating off other themes, especially for those who are new to Tailwind

The documenation should link to Tailwinds detecting source files documentation https://tailwindcss.com/docs/detecting-classes-in-source-files and have a line about including the src for a minimal setup

index.css

...
@source "../node_modules/@rjsf/shadcn/src";
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageInitial label given, to be assigned correct labels and assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions