Topic: Getting console errors
Expected behavior
Actual behavior I am not sure how to import the Modal as given in the document. When I try as given in the screenshot, I am getting console error. In addition to that I am also getting many more console errors. screenshots attached.
Resources (screenshots, code snippets etc.)
Kamila Pieńkowska
staff answered 10 months ago
Do you want to use es
import to import some components or do you want to use umd
import and use most/all components?
Are you using any bundler and how are you doing your imports?
Start from adding type="module"
to script tag that links script.js
in your index.html
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: MDB5 7.3.2
- Device: Lenovo AIO
- Browser: Chrome
- OS: Windows 11 Home
- Provided sample code: No
- Provided link: No