In theory, when I build a Div element with a property data-provide="calendar" the calendar the calendar is built. I have tried this in local and this solution works but in the PCF not working. It's neccesary to add dependencies by import statement like this? ->
In case I need to add dependencies, what should I add or where can I look at it?
Have a look at my repository https://github.com/rexkenley/pcf-react. It is for react but the general concept is the same for bootstrap. You have set your imports in index.ts and manage the calendar in init and updateView events.