astro/examples/env-vars
Nate Moore 41b81d0d7e
Switch examples favicon to use svg (#4331)
* chore(examples): switch favicon to svg

* chore: astro.svg => favicon.svg

* Update examples/basics/README.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-08-17 15:19:04 -05:00
..
.vscode Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
public Switch examples favicon to use svg (#4331) 2022-08-17 15:19:04 -05:00
src Add Astro.generator (#4012) 2022-08-08 12:34:05 -05: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 (#4333) 2022-08-16 10:14:44 -04: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.