Skip to content

Is Svelte a requrement? #93

Answered by vkurko
jnegron357 asked this question in Q&A
Mar 14, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

No, Svelte is not a requirement. You can use the library in any JS application.

A browser version is available in the @event-calendar/build npm package. The CDN in fact takes the files from this package. Therefore, you can simply download the necessary js and css files from these links:

https://cdn.jsdelivr.net/npm/@event-calendar/build/event-calendar.min.js
https://cdn.jsdelivr.net/npm/@event-calendar/build/event-calendar.min.css

and use them as follows (let's assume you put the files in the assets folder at the root of your webserver):

<link rel="stylesheet" href="/assets/event-calendar.min.css">
<script src="/assets/event-calendar.min.js"></script>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jnegron357
Comment options

@vkurko
Comment options

Answer selected by jnegron357
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants