skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

How can I make intellisense work with the SkyPack CDN in VS Code? #305

Open max-programming opened 2 years ago

max-programming commented 2 years ago

I love using SkyPack CDN and it has become my favourite now. However for some reason VS Code does not have IntelliSense when importing a package from a CDN. Can someone help me with how to make it work?

image

WilcoSp commented 2 years ago

You can make a declaration file will all the packages you want to use, here is a link with more info. https://docs.skypack.dev/skypack-cdn/code/javascript#using-skypack-urls-in-typescript