Closed johanrd closed 3 weeks ago
or, maybe I'm fooling myself about the expected format.
Anyways, the instructions in the readme does not work in beta.33, at least. Then the following runtime errors occur:
import VanillaCalendar from 'vanilla-calendar-pro';
// TypeError: vanilla_calendar_pro__WEBPACK_IMPORTED_MODULE_5__.default is not a constructor
import 'vanilla-calendar-pro/styles/vanilla-calendar-pro.min.css';
// Error: Could not find module `vanilla-calendar-pro/styles/vanilla-calendar-pro.min.css` imported from `(require)`
Please wait for the updated documentation, the old readme will work in the new version since critical changes have been made.
There is no build folder anymore, in beta.33 you export styles like this: import 'vanilla-calendar-pro/styles/index.css'; And the calendar itself is like this: import { VanillaCalendarPro } from 'vanilla-calendar-pro';
Most likely, the import of the calendar in the next beta version will be replaced from VanillaCalendarPro to Calendar.
great, thanks, verified!
Most likely, the import of the calendar in the next beta version will be replaced from VanillaCalendarPro to Calendar.
agreed!
npm install vanilla calendar pro 3.0.0-beta.33 and see that the built package folder
build
is not included: