Add Telegram Mini App login flow

This commit is contained in:
Ruslan Bakiev
2026-04-04 14:21:31 +07:00
parent 9017555722
commit 3bee6c370a
7 changed files with 235 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
export default defineNuxtPlugin(() => {
const { webApp, isAvailable } = useTelegramMiniApp();
if (!isAvailable.value || !webApp.value) {
return;
}
webApp.value.ready?.();
webApp.value.expand?.();
});