1. Install the SDK
npm i vue-tggl-client2. Create the client
Add the provider to make the client available anywhere in your app.
<script setup>
  import { TgglClient, TgglProvider } from 'vue-tggl-client'
 
  const client = new TgglClient('YOUR_API_KEY')
</script>
 
<template>
  <TgglProvider :client="client">
    <!-- ... -->
  </TgglProvider>
</template>3. Start using feature flags
<script setup>
import { useFlag } from 'vue-tggl-client'
 
const flag = useFlag('myFlag')
</script>
 
<template>
  <div v-if="flag.active">
    This is only visible if the flag is active
  </div>
</template>
