nuxt layers with private repositories #26066
-
can be layer used with private github repository? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
What I did (for GitLab, but it should be roughly the same):
This works for me. In the docs they mention possibility to add |
Beta Was this translation helpful? Give feedback.
-
Hi there, i would like to ask you about this, i've installed my private package and extended it successfully, but when i try to use the components it doesn't find them, i've set all my components outside .playground directory i got errors like this: Failed to resolve component: TextField Have you ever seen something like this? thank you |
Beta Was this translation helpful? Give feedback.
What I did (for GitLab, but it should be roughly the same):
published layer to our company private repo as
@my/layer
created personal access token on my GitLab account
in target project set following values in
.env
:package.json
:nuxt.config.ts
:This works for me.
In the docs they mention possibility to add
gitlab:
(orgithub:
) prefix toextends
, but that doesn't work for me for some reason.