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

How about putting all .env.* files into env folder #4878

Open
joe223 opened this issue Nov 24, 2019 · 3 comments
Open

How about putting all .env.* files into env folder #4878

joe223 opened this issue Nov 24, 2019 · 3 comments

Comments

@joe223
Copy link

joe223 commented Nov 24, 2019

What problem does this feature solve?

All .env.* files scattered around the root directory, it same a little bit messy

What does the proposed API look like?

Put all .env files into env folder

@joe223
Copy link
Author

joe223 commented Dec 18, 2019

If it is possible,I'd like to make a Pull Request.

In my design, .env.xxx file in root directory will get higher priority and env/.env.xxx gets lower. Which means that the new feature(if it could be) will be compatible with previous rules and users do not need make any changes.

@wenfangdu
Copy link

Possible duplicate to #2506

@basickarl
Copy link

basickarl commented Feb 18, 2022

This is a valid feature. I understand that Vue is opinionated, but I see these configuration files differ from a projects dev tool configuration, they are not the same type of configuration. The Vue configuration files will most likely be edited by devs for specific environments but the normal dev tool configs won't.

Having the .env files in root is just a mess.

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