Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Getting Started

Create a shared config, then install IvemPlugin when bootstrapping the app.

Create Config

import { createConfig, iwallet, mainnet } from '@ivem/kit-vue'
 
export const config = createConfig({
  chains: [mainnet],
  connector: iwallet(),
})

Use ssr: true in Nuxt or other SSR setups to avoid persisted-state hydration during the first render.

Install the Plugin

import { createApp } from 'vue'
import { QueryClient } from '@tanstack/vue-query'
import { IvemPlugin } from '@ivem/kit-vue'
import { config } from './config'
import App from './App.vue'
 
const queryClient = new QueryClient()
 
createApp(App)
  .use(IvemPlugin({ config, queryClient }))
  .mount('#app')