astro/examples/env-vars
Juan Martín Seery dc6e89f0a3
chore: updated examples to v0.26.0 (#2977)
* New script behavior

* Astro.request

* Reverted `deno` to `node`

* Updated subpath
2022-04-03 14:02:57 -05:00
..
public Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
src chore: updated examples to v0.26.0 (#2977) 2022-04-03 14:02:57 -05:00
.env Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
.gitignore Merge branch 'main' into feat/vercel-adapter 2022-03-30 21:50:41 -03: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 Astro Integration System (#2820) 2022-03-18 15:35:45 -07:00
package.json [ci] release (#2969) 2022-04-02 13:49:27 -06: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.