mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
20 lines
388 B
Markdown
20 lines
388 B
Markdown
---
|
|
title: 'useAppConfig'
|
|
description: 'Access the reactive app config defined in the project.'
|
|
links:
|
|
- label: Source
|
|
icon: i-simple-icons-github
|
|
to: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/config.ts
|
|
size: xs
|
|
---
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
const appConfig = useAppConfig()
|
|
|
|
console.log(appConfig)
|
|
```
|
|
|
|
:read-more{to="/docs/guide/directory-structure/app-config"}
|