mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
docs: How to access base config in the app (#5482)
This commit is contained in:
parent
9e6150cd14
commit
0fd4aaa906
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue