Topic: MDBDraggable and MDBSortable do not exist
Expected behavior According to https://mdbootstrap.com/docs/react/plugins/drag-and-drop/ these two components are supposed to be available in the mdb-react-drag-and-drop package. When I run "npm install mdb-react-drag-and-drop" I expect the package to install and provide the components.
Actual behavior When I run the NPM install, it results in this error: Not Found - GET https://registry.npmjs.org/mdb-react-drag-and-drop - Not found
Where do I get the drag and drop plugin? I can't find it online or in the MDB gitlab repo that I have access to.
Resources (screenshots, code snippets etc.)
Mateusz Lazaru staff answered 2 days ago
There is a short tutorial on how to install plugins: https://mdbootstrap.com/docs/react/pro/plugins-installation/#section-npm-existing-project
Basically, you'll need to generate auth token on gitlab and install the plugin directly from gitlab, like
npm i https://oauth2:ACCESS_TOKEN@git.mdbootstrap.com/mdb/react/mdb5/plugins/prd/drag-and-drop
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 React
- MDB Version: MDB5 9.0.0
- Device: Mackbook Pro
- Browser: Chrome
- OS: Mac OS
- Provided sample code: No
- Provided link: Yes