Topic: Basic Pro package unable to use animations in existing project
Expected behavior I recently purchased the basic pro package and am attempting to use a few pro features, namely animations, in an existing project using MDB5/React. However, every time I use a pro feature I receive the following error message:
Actual behavior
Attempted import error: ‘MDBAnimation’ is not exported from ‘MB’s-react-ui-kit’.
Resources (screenshots, code snippets etc.) I'm assuming I would need to use the project folder available to download in my account dashboard but will not be able to use it with an existing project otherwise unless I upgrade in order to use the cl/token?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB4 5.0.1
- Device: PC
- Browser: Google
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Krzysztof Wilk staff commented 3 years ago
Hi!
Could you precise which package do you use? In the specification, I see that you are using MDB4 5.0.1. The code above works with MDB5 Pro Essential, so if you bought the MDB4 package - it won't. Anyway - there's also the MDBAnimation component in the MDB4, check it here: https://mdbootstrap.com/docs/react/css/animations/ :)
If you bought the MDB5 package - did you installed it via npm just like that
npm install mdb-react-ui-kit
? If yes - you installed the free version. To install a pro one you have to create an access token on our GitLab (or download the pro package from your orders) :)Keep coding!