astro/examples/env-vars
github-actions[bot] 2b89613539
[ci] release (#2808)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 19:40:27 -05:00
..
public Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
src [ci] yarn format 2022-02-18 22:07:52 +00:00
.env Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
.gitignore Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
.npmrc Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
.stackblitzrc Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
astro.config.mjs Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
package.json [ci] release (#2808) 2022-03-15 19:40:27 -05:00
README.md Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
sandbox.config.json Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
tsconfig.json Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00

Astro Starter Kit: Environment Variables

npm init astro -- --template env-vars

Open in StackBlitz

This example showcases Astro's support for Environment Variables. Please see Vite's Env Variables and Modes guide for more information.