Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CSS import not working #1143

Unanswered
Chayemor asked this question in Q&A
Discussion options

Anyone else face problems with

import 'plyr-react/plyr.css';

No error pops up on network, or console, or build, but no CSS is imported whatsoever. Meanwhile import 'plyr-react/dist/plyr.css'; worked fine.

The IDE has no problem finding import 'plyr-react/plyr.css'; I can see, click through to it, etc.

Code has other CSS imported and it works fine, it's only plyr-react's CSS it's not importing.

Also tried:

import '../../../node_modules/plyr-react/plyr.css';

Any hints?

ps: atm I have solved it by copying the css onto its on file and importing that, which works but isn't ideal, of course.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /