Skip to content

CSS Modules #13

@JanCesenek

Description

@JanCesenek

It's hard to say whether it's an error or not, but I can't make CSS modules work inside the template. I can obviously bypass it just by using regular CSS, but it still leaves me puzzled. How is it possible that I can use CSS modules inside any plain React project, but not in this one? I also tried to copy your file setup, create my own Express+React folder, but it doesn't work in there either.
Thanks in advance for any clarification as I've been looking for a solution for hours without any success.
It works as intended on the first picture, it doesn't work on the second one. This difference in VS Code hint doesn't help me at all, but it might help you with answering my question.
WhatsApp Image 2022-03-09 at 17 02 00
WhatsApp Image 2022-03-09 at 17 02 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions