Skip to content

Is there a way to use SCSS in payload custom components while using tailwind in the frontend? #18

Closed
@linobino1

Description

@linobino1

Using @import '~payload/scss' in a .scss file that is being imported (maybe indirectly) in payload.config.ts raises an error:

Error: Can't find stylesheet to import.
    ╷
  1 │ @import "~payload/scss";
    │   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions