Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not support template in self-builded gitlab #355

Closed
echopi opened this issue Feb 16, 2017 · 3 comments
Closed

not support template in self-builded gitlab #355

echopi opened this issue Feb 16, 2017 · 3 comments

Comments

@echopi
Copy link

echopi commented Feb 16, 2017

command I used is like below:

vue init -c gitlab:gitlab-host.com:username/my-template-repo project-name

the vue-cli seems to treat the above template local

if (/^[./]|(\w:)/.test(template)) {}
@zigomir
Copy link
Contributor

zigomir commented Feb 16, 2017

@echopi please check if this is fixed on master and maybe then we should publish a new version. I was working on this some days ago: #341

@echopi
Copy link
Author

echopi commented Feb 17, 2017

@zigomir the master solved the problem, thanks.

Another problem comes to me is when I do the following cmd again with the -c options, git clone failed due to the path git clone to existed already.

vue init -c gitlab:gitlab-host.com:username/my-template-repo another-project-name

Can vue-cli provide a option to disable the template cached?

@posva
Copy link
Member

posva commented Jul 11, 2017

Closing since this was fixed long time ago. Caching should also be working correctly now, but if it doesn't, please, open a new issue with some details 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants