We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.1.1
vue create -p remote-preset my-project --no-readme
希望添加--no-readme选项,因为从远程组件、项目preset创建项目,通常需要有自己的使用说明,不希望被默认的readme强制替换掉,谢谢! 或者在generateReadme时,先判断是否已经存在readme,存在则不创建。
--no-readme
generateReadme
还有一种情况请一起考虑,如果是组件的preset,是不需要src/的,建议拉取远程github的preset项目时,将控制权交给用户,而不要强制把src和readme安利过来。
src/
The text was updated successfully, but these errors were encountered:
vue-cli3也有相同问题
Sorry, something went wrong.
fix(creator): do not override the README.md generated by plugins
91780cd
closes vuejs#4802 closes vuejs#4942
fix(creator): do not override the README.md generated by plugins (#5472)
75c398f
closes #4802 closes #4942
Successfully merging a pull request may close this issue.
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安利过来。The text was updated successfully, but these errors were encountered: