Our pure JavaScript Scheduler component


Post by PinHsuehLi »

Hi!

In the guide, there's a way to import scheduler:
import {Scheduler} from '../build/scheduler.module.js';
and then
const scheduler = new Scheduler({
    ...
})
I used those code and can't work.
After my search, I found that this can't be implemented locally.
So is that mean I need to create a module bundle or something to import??
Could you give me the document which talks about it, please?

Post by johan.isaksson »

Hi,

The code above should work, but you have to make sure the path you import from is correct, that you are using a browser that supports ES modules and that you have your files on a local webserver.

All demos use the modules bundle (when opened in a browser that supports ES modules).
Best regards,
Johan Isaksson

Post Reply