Update docs/guide/data-loading.md

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/2147/head
John Campion Jr 3 years ago committed by GitHub
parent 197885eaf2
commit 3b172cb5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -200,5 +200,6 @@ To get the configuration information inside a loader, use the following code:
```ts
import type { SiteConfig } from 'vitepress'
const config: SiteConfig = (global as any).VITEPRESS_CONFIG
const config: SiteConfig = (globalThis as any).VITEPRESS_CONFIG
```

Loading…
Cancel
Save