You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So according to https://esm.sh/#importing-from-github-repos it's possible to import directly from GitHub repositories using the syntax /gh/OWNER/REPO[@TAG]/PATH. However it seems that I can't find the syntax to require packages
I've tried with these two repositories for example:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi 👋 !
So according to https://esm.sh/#importing-from-github-repos it's possible to import directly from GitHub repositories using the syntax
/gh/OWNER/REPO[@TAG]/PATH
. However it seems that I can't find the syntax to require packagesI've tried with these two repositories for example:
But even if I'm moving them to root repository, for example:
It doesn't seem to work (or not sure if I'm really unlucky and both packages are faulty). Not sure what I'm missing there 😕
Thanks for the help !
Beta Was this translation helpful? Give feedback.
All reactions