[ci] format
This commit is contained in:
parent
5df4a89a3a
commit
1b0f5f377d
1 changed files with 3 additions and 3 deletions
|
@ -424,7 +424,7 @@ export interface AstroUserConfig {
|
||||||
* @name base
|
* @name base
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @description
|
* @description
|
||||||
* The base path to deploy to. Astro will use this path as the root for your pages and assets both in development and in production build.
|
* The base path to deploy to. Astro will use this path as the root for your pages and assets both in development and in production build.
|
||||||
*
|
*
|
||||||
* In the example below, `astro dev` will start your server at `/docs`.
|
* In the example below, `astro dev` will start your server at `/docs`.
|
||||||
*
|
*
|
||||||
|
@ -433,9 +433,9 @@ export interface AstroUserConfig {
|
||||||
* base: '/docs'
|
* base: '/docs'
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* When using this option, all of your static asset imports and URLs should add the base as a prefix. You can access this value via `import.meta.env.BASE_URL`.
|
* When using this option, all of your static asset imports and URLs should add the base as a prefix. You can access this value via `import.meta.env.BASE_URL`.
|
||||||
*
|
*
|
||||||
* ```astro
|
* ```astro
|
||||||
* <a href="/docs/about/">About</a>
|
* <a href="/docs/about/">About</a>
|
||||||
* <img src=`${import.meta.env.BASE_URL}/image.png`>
|
* <img src=`${import.meta.env.BASE_URL}/image.png`>
|
||||||
|
|
Loading…
Reference in a new issue