analog icon indicating copy to clipboard operation
analog copied to clipboard

Docs: add guide on using environment variables

Open brandonroberts opened this issue 1 year ago • 2 comments

Which scope/s are relevant/related to the feature request?

Docs

Information

Angular projects usually have an environment.ts/environment.prod.ts for handling environment variables. Analog lets you use .env files directly. We should have a guide on the approaches.

  1. Use one environment.ts file with the environment variables inside it
  2. Use the vite environment variables directly.

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • [ ] Yes
  • [ ] No

brandonroberts avatar Apr 30 '24 18:04 brandonroberts

@brandonroberts I would like to take this ... it is possible ?

Thewizard18n avatar May 05 '24 19:05 Thewizard18n

@brandonroberts I would like to take this ... it is possible ?

Go ahead and:) PRs are welcome

luishcastroc avatar May 05 '24 19:05 luishcastroc

Closed by https://github.com/analogjs/analog/pull/1306

https://analogjs.org/docs/guides/migrating#setting-up-environments

brandonroberts avatar Aug 30 '24 13:08 brandonroberts