How to import sub-packages from GitHub repositories ? #727
Unanswered
lowlighter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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