Skip to content

Tailwind CSS issue #4987

Closed
Closed
@C0ZEN

Description

@C0ZEN

Describe the bug

In v9, to style Prime I only need to add these into a .scss file.

@import 'primereact/resources/themes/lara-light-blue/theme.css';
@import 'primereact/resources/primereact.min.css';

In v10.0.2, this is like the app is set to unstyled: true, since no CSS is loaded, at all!
Though, I'm still able to see that the Prime classes are added into the DOM.

Reproducer

No response

PrimeReact version

10.0.2

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

The styles are loaded.

Metadata

Metadata

Labels

Component: TailwindTailwind specific issueResolution: WorkaroundIssue or pull request contains a workaround. It needs to be reviewed further by Core Team

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions