Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use without NPM? #15

Closed
eiiot opened this issue May 23, 2021 · 2 comments
Closed

Use without NPM? #15

eiiot opened this issue May 23, 2021 · 2 comments

Comments

@eiiot
Copy link

eiiot commented May 23, 2021

I've noticed that many plugins allow users to use an api.mapbox.com URL to import the plugin into an HTML file. Is this possible with style-switcher? If so, what is the URL?

@MammaClaudia
Copy link

Hi! I've install the style-switcher with yarn.

yarn add i mapbox-gl-style-switcher --save

@el
Copy link
Owner

el commented Jun 7, 2021

@EliotHertenstein Can you give me an example? I think you are talking about the official plugins created by Mapbox.

You can try https://unpkg.com/mapbox-gl-style-switcher

@el el closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants