Topic: Popconfirm SCSS file is named incorrectly (without "_" prefix)
I noticed that at least in the downloadable package for the pro version the scss file for the popconfirm is named incorrectly.
The file name is "popconfirm.scss" instead of "_popconfirm.scss".
Because of this the file is being converted to a css file on its own, but fails due to the variables being unknown.
Grzegorz Bujański staff answered 4 years ago
Jean-Philippe Steinmetz answered 3 years ago
Hi. I'm just integrating MDB Pro into my project now. After importing the mdb.pro.scss file I am getting the following error:
SassError: It's not clear which file to import. Found: node_modules\mdb-react-ui-kit\dist\scss\pro_popconfirm.scss node_modules\mdb-react-ui-kit\dist\scss\pro\popconfirm.scss
Grzegorz Bujański staff commented 3 years ago
I understand that it is MDB React? This topic is about MDB Standard. Please create a new topic and selecting the MDB React version you are using. Describe exactly how you import the styles in your project.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No