maplibre-gl-js icon indicating copy to clipboard operation
maplibre-gl-js copied to clipboard

docs: show how to npm i maplibre-gl on intro page

Open birkskyum opened this issue 1 year ago • 2 comments

we currently only show how to use CDN to install

birkskyum avatar Jun 05 '24 07:06 birkskyum

I also think the examples should use es6 style import instead of using the global maplibre object, not just the readme. I don't think it's a big effort and will make this library feel more modern.

HarelM avatar Jun 05 '24 08:06 HarelM

Since maplibre is packaged using commonjs, using it with a module type script is not possible ATM 😕

HarelM avatar Jun 14 '24 11:06 HarelM