Topic: Setup with minimal files, cannot get calendar working
basecamp free asked 2 years ago
*_Expected behavior_* Able to use plugins, specifically the calendar.
*_Actual behavior_* Uncaught SyntaxError: Unexpected token '.'
*_Resources (screenshots, code snippets etc.)_* I am using MDB5 and trying to install only the calendar plugin on my site through zip installation. The download zip has a LOT of files, and I am trying to figure out the minimum files I need to be able to run the calendar plugin.Here are my files:
However, I get the error above, which seems to be coming from the CSS file. How do I add this plugin to my existing site without the error and without loading mb of unnecessary files?
It should be enough to import the calendar.min.css and calendar.min.js files into the project. How do you import these files in your project? Do you use webpack or just add imports in the HTML file?
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: 3.2.0
- Device: All
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No