Vue
Initialize
<script setup>
import { tiun } from '@tiun/sdk';
import { onMounted } from 'vue';
onMounted(() => {
tiun.init({
snippetId: 'YOUR_SNIPPET_ID',
language: 'en', // 'en' | 'de' | 'fr'
});
});
</script>
<template>
<!-- your app -->
</template>Checkout
Listen for user changes
Gate content
Login and logout
Paywall events (time-based)
Content management (time-based)
Last updated
Was this helpful?