hello, everything was working fine until an error from react-select causes all the styles for react-select to stop working.
CONSOLE:
Refused to apply style from 'https://unpkg.com/[email protected]/dist/react-select.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Cannot find module "/dist/react-select.css" in package [email protected] on CDN -> https://unpkg.com/[email protected]/dist/react-select.css
Try to delete CDN on publicindex.html
and adding this import 'react-select/dist/react-select.css';
right to your index.js
or
Edit your CDN to https://unpkg.com/[email protected]/dist/react-select.css
base on your version.
My version "react-select": "^1.2.1"
@danilags Thanks buddy! Life saver <3
@danilags glad you got to the bottom of this, and thank you for posting the solution 馃檪
Most helpful comment
Cannot find module "/dist/react-select.css" in package [email protected] on CDN ->
https://unpkg.com/[email protected]/dist/react-select.css
Try to delete CDN on public
index.html
and adding this
import 'react-select/dist/react-select.css';
right to yourindex.js
or
Edit your CDN to
https://unpkg.com/[email protected]/dist/react-select.css
base on your version.My version
"react-select": "^1.2.1"