Skip to content

useConfig ​

Composable for getting Config from the WagmiPlugin.

Import ​

ts
import { useConfig } from 'wagmi'

Usage ​

vue
<script setup lang="ts">
import { useConfig } from 'wagmi'

const config = useConfig()
</script>

Return Type ​

ts
import { type UseConfigReturnType } from 'wagmi'

Released under the MIT License.