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

Add. Vuerc file git enable configuration item #6322

Open
nuochong opened this issue Mar 1, 2021 · 2 comments
Open

Add. Vuerc file git enable configuration item #6322

nuochong opened this issue Mar 1, 2021 · 2 comments

Comments

@nuochong
Copy link
Contributor

nuochong commented Mar 1, 2021

What problem does this feature solve?

In actual scenarios, 90% of users may use the 'Vue create xxx' command without initializing git, but users need to enter the 'Vue create XXX -- no git' or 'Vue create XXX - n' command every time, which will cause a lot of inconvenience.
If the 'enable git' option is configured in the '. Vuerc' file, GIT will not be initialized by default when creating a project.

What does the proposed API look like?

The default behavior of creating 'Vue cli' is the same as the original, but when the user sets the '. Vuerc' file, the default value is' false 'in the command line and graphical interface.

@haoqunjiang
Copy link
Member

In actual scenarios, 90% of users may use the 'Vue create xxx' command without initializing git

Where do the statistics come from?

@nuochong
Copy link
Contributor Author

nuochong commented Mar 1, 2021

In actual scenarios, 90% of users may use the 'Vue create xxx' command without initializing git

Where do the statistics come from?

This is my team's data.
This is the most common scenario we see after a formal project has been created. And most of the time team members don't need to create projects, they just need to pull existing projects and use them.

  1. When a new function is introduced into a project, it is often necessary to create some test projects first and introduce them after the function is tested. After the completion of these test projects, they will be deleted and not uploaded to git.
  2. When new members learn VUE related technologies, for example, there are 20 chapters in the course video, and each chapter will create a new VUE example to describe the content of the corresponding chapter. These are temporary and do not need to initialize git.

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

No branches or pull requests

2 participants