astro/examples/env-vars
Nate Moore 8859655f15
Update astro version to 1.0.0-rc.0 (#4030)
* chore: update `astro` to `1.0.0-rc.0`

* chore: update `astro` version in examples

Co-authored-by: Nate Moore <nate@astro.build>
2022-07-24 22:32:28 -04:00
..
public Expose private .env variables to import.meta.env during SSR (#2612) 2022-02-18 16:06:56 -06:00
src Move client types into Astro (#3851) 2022-07-11 08:12:18 -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 Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -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 client types into Astro (#3851) 2022-07-11 08:12:18 -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.