Hi everyone,
I installed the Daypilot with npm here is my index.html
<script src="daypilot-javascript.min.js"></script>
<div id="dp"></div>
<script>
const dp = new DayPilot.Calendar("dp", {
viewType: "Resources",
columns: [
{id: 1, name: "Person 1"},
{id: 2, name: "Person 2"},
{id: 3, name: "Person 3"}
]
});
dp.init();
</script>
everthing works fine but in console is shown this error :
Uncaught ReferenceError: module is not defined