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

CDN version #64

Closed
64J0 opened this issue Apr 22, 2020 · 4 comments
Closed

CDN version #64

64J0 opened this issue Apr 22, 2020 · 4 comments

Comments

@64J0
Copy link

64J0 commented Apr 22, 2020

Please, add a CDN link version, so we can use this package with only vanilla js.

@caroso1222
Copy link
Owner

Hadn't thought about that. I will definitely do it.

I have never done so, do you have any recommendations? I mean, something that will also allow to manage and publish versions appropriately?

Thanks for the suggestion!

@64J0
Copy link
Author

64J0 commented Apr 22, 2020

I have never done this too, but this guy made: https://github.com/apvarun/toastify-js. He made a feature like yours too.

@64J0 64J0 closed this as completed Apr 22, 2020
@caroso1222
Copy link
Owner

I think it's a great idea so I'll leave this one open.

@caroso1222 caroso1222 reopened this Apr 23, 2020
@caroso1222
Copy link
Owner

I just realized notyf is already getting 93k hits a month on jsdelivr! I updated the docs with the link to jsdelivr. Thanks again!

<html>
  <head>
    ...
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css">
  </head>
  <body>
    ...
    <script src="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.js"></script>
  </body>
</html>

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

2 participants