diff options
author | 2022-12-08 17:20:00 +0000 | |
---|---|---|
committer | 2022-12-08 12:20:00 -0500 | |
commit | 0fd4aaa9068f8ae047fb426d2ca1d0d6d5f296e5 (patch) | |
tree | 7fce1ce523a8981a56266878a8b409ef0160aeda | |
parent | 9e6150cd14e37fe98709195826acb055566a5869 (diff) | |
download | astro-0fd4aaa9068f8ae047fb426d2ca1d0d6d5f296e5.tar.gz astro-0fd4aaa9068f8ae047fb426d2ca1d0d6d5f296e5.tar.zst astro-0fd4aaa9068f8ae047fb426d2ca1d0d6d5f296e5.zip |
docs: How to access base config in the app (#5482)
-rw-r--r-- | packages/astro/src/@types/astro.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index c27d88b47..1b6c98ea5 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -432,6 +432,8 @@ export interface AstroUserConfig { * @description * The base path to deploy to. Astro will build your pages and assets using this path as the root. Currently, this has no effect during development. * + * You can access this value in your app via `import.meta.env.BASE_URL`. + * * ```js * { * base: '/docs' |