Topic: MDBProReact - Serious Problems
Mikołaj Smoleński staff answered 7 years ago
Hi shotokan,
Here are some important information about installing MDB React: https://mdbootstrap.com/react/react-bootstrap-getting-started/
For the MDB Pro version You'll have to follow steps:
2. Add the necessary dependencies:
yarn add font-awesome@4.7.0 --exact
yarn add bootstrap@4.0.0 --exact
yarn add react-error-overlay@4.0.0 --exact
5. Inside src/index.js file make the necessary imports right beneath the import ReactDOM...
statement:
import 'font-awesome/css/font-awesome.min.css';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'mdbreact/docs/css/mdb.min.css';
6. Import components you like from the menu on the left into your App.js file from mdbreact
, apply them in its render()
method, hit yarn start
and tweak for yourself!
Regards
shotokan pro commented 7 years ago
what you explain is just generic answer and not relevant to what i wrote :/ you have big mess with the package you providing ... i am trying to make an order your talking about X and there is a Big Y inside the pro package -- how can i get a refund please ???Mikołaj Smoleński staff commented 7 years ago
My answer was hardly connected with Your question. 1. Firstly, You've asked about css files. As I wrote above - css files are loaded from each package separately (bootstrap, font-awesome, and mdb). Only one css file is in fact imported from the MDB Package - it is 'mdbreact/docs/css/mdb.min.css'. 2. Secondly, I wrote how to import the component from our package. I can add that importing components is as simply as it can be. For example: import { Button } from 'mdbreact'; const ButtonPage = (props) => { return( Primary ); }; export default ButtonPage;FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No