glide
glide copied to clipboard
Basic question about using modules
Sorry to ask such a basic question: I'm not using npm, I'm using the files available at the cdn: https://cdnjs.com/libraries/Glide.js/3.2.0 and I'm just importing on my site in the head section using <script> for the js and <link> for the css.
How do I then use the modules like autoplay? I see the doc suggests:
import Glide, { Autoplay } from '@glidejs/glide/dist/glide.modular.esm'
But I don't think this works for me as I'm not using that fancy esm file?
You can use it without any imports: try just calling this: