Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Recommended way to set .env #9

@nathanheffley

Description

@nathanheffley

About me

  • My name: Nathan Heffley
  • I've used Netlify: lots

My question in a little more detail

I have a Vue CLI based project which uses some .env files to set some values to be used in the build process. Since it's a frontend project (project for reference) the key isn't particularly sensitive amd I've just committed the files, but it makes it more difficult for users who want to change the setting for local testing with their own keys.

I haven't been able to find any good recommendations or examples of how to handle setting variables in a way that's also friendly to local development or deploying to non-Netlify systems.

Thanks in advance for any suggestions!

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions