Skip to content

Commit

Permalink
docs: fix image links
Browse files Browse the repository at this point in the history
  • Loading branch information
chihab committed Nov 21, 2024
1 parent ddd5b2d commit ec362d5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,16 @@ await build({
## Testimonials

[motdotla](https://github.com/motdotla) - dotenv author and maintainer @**dotenvx**
![motdotla](packages/angular/motdotla.png)
<img src="https://github.com/chihab/dotenv-run/raw/main/packages/angular/motdotla.png" alt="Description" width="600">

NB: Angular not Angular.js :P

[manekinekko](https://github.com/manekinekko) - SSE @**microsoft**
![manekinekko](packages/angular/manekinekko.png)
<img src="https://github.com/chihab/dotenv-run/raw/main/packages/angular/manekinekko.png" alt="Description" width="600">

#### Demos

- [v17 with vite/esbuild builder](https://stackblitz.com/edit/ngx-env-3ey8js?file=src%2Fapp.component.ts)
- [v19 with vite/esbuild builder](https://stackblitz.com/edit/ngx-env-3ey8js?file=src%2Fapp.component.ts)
- [v16 with webpack builder](https://stackblitz.com/edit/ngx-env?file=src%2Fapp.component.ts)

#### Quick start
Expand Down
14 changes: 8 additions & 6 deletions packages/angular/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>@ngx-env/builder</h1>

<img src="./logo.svg" alt="@ngx-env/builder" width="90px" align="right" />
<img src="https://github.com/chihab/dotenv-run/raw/main/packages/angular/logo.svg" alt="@ngx-env/builder" width="90px" align="right" />

[![npm version](https://badge.fury.io/js/%40ngx-env%2Fbuilder.svg)](https://www.npmjs.com/package/@ngx-env/builder)
[![monthly downloads](https://img.shields.io/npm/dm/@ngx-env/builder.svg)](https://www.npmjs.com/package/@ngx-env/builder)
Expand All @@ -26,15 +26,15 @@
## Testimonials

[motdotla](https://github.com/motdotla) - dotenv author and maintainer @**dotenvx**
![alt text](motdotla.png)
NB: He meant Angular not Angular.js :)
![alt text](https://github.com/chihab/dotenv-run/raw/main/packages/angular/motdotla.png)
NB: Angular not Angular.js :)

[manekinekko](https://github.com/manekinekko) - SSE @**microsoft**
![Wassim Chegham](manekinekko.png)
![Wassim Chegham](https://github.com/chihab/dotenv-run/raw/main/packages/angular/manekinekko.png)

## Quick Demo

- [v18 with vite/esbuild builder](https://stackblitz.com/edit/ngx-env-3ey8js?file=src%2Fapp.component.ts)
- [v19 with vite/esbuild builder](https://stackblitz.com/edit/ngx-env-3ey8js?file=src%2Fapp.component.ts)
- [v16 with webpack builder](https://stackblitz.com/edit/ngx-env?file=src%2Fapp.component.ts)

<h2> Table of contents</h2>
Expand Down Expand Up @@ -237,7 +237,7 @@ You can also access the environment variables starting with `NG_APP_` in the `in
</html>
```
## Runtime Environment Variables (Experimental)
## Runtime Environment Variables
By default, environment variables are embedded during the build time which means they are static and cannot be changed at runtime.
Expand All @@ -258,6 +258,8 @@ globalThis._NGX_ENV_ = {
};
```
If you are using server-side rendering, you should add `import '@ngx-env/builder/runtime'` at the top of the `main.server.ts` file.
# Defining Environment Variables
## Command Line
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngx-env/builder",
"version": "19.0.0",
"version": "19.0.1",
"description": "Easily inject environment variables into your Angular applications",
"author": "chihab <chihab@gmail.com>",
"homepage": "https://github.com/chihab/ngx-env/tree/main/packages/angular",
Expand Down

0 comments on commit ec362d5

Please sign in to comment.