Skip to content

creator不创建readme选项 #4942

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

Closed
zero7u opened this issue Dec 10, 2019 · 1 comment · Fixed by #5472 or javascript-indonesias/vue-cli#114
Closed

creator不创建readme选项 #4942

zero7u opened this issue Dec 10, 2019 · 1 comment · Fixed by #5472 or javascript-indonesias/vue-cli#114

Comments

@zero7u
Copy link

zero7u commented Dec 10, 2019

Version

4.1.1

What is expected?

vue create -p remote-preset my-project --no-readme


希望添加--no-readme选项,因为从远程组件、项目preset创建项目,通常需要有自己的使用说明,不希望被默认的readme强制替换掉,谢谢!
或者在generateReadme时,先判断是否已经存在readme,存在则不创建。


还有一种情况请一起考虑,如果是组件的preset,是不需要src/的,建议拉取远程github的preset项目时,将控制权交给用户,而不要强制把src和readme安利过来。

@whq731
Copy link

whq731 commented Jan 2, 2020

vue-cli3也有相同问题

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