astro/examples/env-vars
Fred K. Bot 4e4061f485
[ci] release (#4159)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05 21:48:35 -07:00
..
.vscode Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
public Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
src Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
.env Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
.gitignore refactor(vercel): Build Output API v3 (#3216) 2022-05-11 15:10:38 -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 Astro Integration System (#2820) 2022-03-18 15:35:45 -07:00
package.json [ci] release (#4159) 2022-08-05 21:48:35 -07: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 Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04: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.