@material/react-select css imports broken
import '@material/react-list/dist/menu.css';
import '@material/react-menu-surface/dist/menu.css';
import '@material/react-menu/dist/menu.css';
import '@material/react-select/dist/select.css';
the first two imports are broken. *even after install react-list and react-menu
Also getting errors: Module not found: Can't resolve '@material/react-list/dist/menu.css' even after installing react-list, react-menu, react-menu-surface (despite these not being listed in the instructions for how to install react-select)
Possibly related to https://github.com/material-components/material-components-web-react/issues/885 but even after downgrading to 0.13 of @material/react-select and associated dependencies, still getting the same error.
Ignoring the first three imports, and just using
import '@material/react-select/dist/select.css';
Seems to work fine for "basic" select (not enhanced) outline derivation. Can't make the "enhanced" version work, but don't have time to debug that right now.
The README has the wrong import paths. It should be this -
import "@material/react-list/dist/list.css";
import "@material/react-menu-surface/dist/menu-surface.css";
import "@material/react-menu/dist/menu.css";
import "@material/react-select/dist/select.css";
The README has the wrong import paths. It should be this -
import "@material/react-list/dist/list.css"; import "@material/react-menu-surface/dist/menu-surface.css"; import "@material/react-menu/dist/menu.css"; import "@material/react-select/dist/select.css";
Does the README have the correct import paths for SASS?
@kintz09 Not sure, I haven't used it with SASS/SCSS.