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

Why Svelte.... #412

Open
sdudnic opened this issue Mar 4, 2021 · 1 comment
Open

Why Svelte.... #412

sdudnic opened this issue Mar 4, 2021 · 1 comment
Assignees
Labels

Comments

@sdudnic
Copy link

sdudnic commented Mar 4, 2021

Fist thing I expect from a documentation, a basic example using nothing at all, any additional library NPM, Angular, Bambular....

Could you just display a success message using simple html and pure js?

What is the strict minimum to display a notification?

Is

https://cdn.jsdelivr.net/npm/@pnotify/core@5.2.0/dist/PNotify.min.js
https://cdn.jsdelivr.net/npm/@pnotify/core@5.2.0/BrightTheme.min.css

enought to display a success notification?

@hperrin
Copy link
Member

hperrin commented Apr 15, 2021

Yes. You don't need to include Svelte. I chose Svelte as the framework to write PNotify in because it compiles down to vanilla JavaScript, so there is no need to include any libraries.

@hperrin hperrin pinned this issue Apr 15, 2021
@hperrin hperrin self-assigned this Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants