Topic: MDB5 pro
bsteinrock.dev free asked 3 years ago
*Expected behavior*I just purchased and installed MDB5 pro, I simply copied a sample modal, one from a design block and one from the documentation, not even a pro component. I run the project, press the button and nothing. The documentation says you need to install any bootstrap files other than what is included in the MDB5 download files. Is there somthing I'm missing? i even tried in the included html file with all files already linked and nothing. Do i need to link files directly from the src file included? so for example for scripts: where i have all MDB5 files under a folder called MDB5 in the wwroot.
<script src="~/MDB5/src/js/bootstrap/dist/modal.js"></script> <script src="~/MDB5/js/mdb.min.js"></script>
<link rel="stylesheet" href="~/MDB5/css/mdb.min.css" /> <link rel="stylesheet" href="~/css/site.css" />
*Actual behavior*When I run my dev tools I have this error. this is the only error i am getting.mdb.min.js:870 Uncaught SyntaxError: Invalid or unexpected token
*Resources (screenshots, code snippets etc.)*Is there something I'm missing with this?
After downloading and unpacking MDB 5 everything should work out of the box - just copy and paste any component from the documentation. You don't need to change anything in the files or links.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: -
- Device: Laptop
- Browser: Chroe
- OS: Windows 10
- Provided sample code: No
- Provided link: No