How do I use jQuery in Svelte
I noticed that if JQuery is already available globally, then you can access it via window.$
instead of just $
and the svelte compiler won't complain.
You can just use import as
syntax:
import * as $j from 'jquery';
Or as anyName
that you can use