Description
vue-tg is a Vue 3 package for integrating Telegram Mini Apps and Telegram Widgets. It is a lightweight package that gives a Vue app typed access to Telegram features. You install it, then place the telegram-web-app.js script before any other scripts on the page so the app connects to the Telegram client. It provides components for common Mini App controls, including alerts, a back button, a biometric manager, closing confirmation, confirm dialogs, expanded and fullscreen viewports, a main button, secondary and settings buttons, popups and a QR scanner. Widgets are available for sharing, posts, login and discussions. Type safety is built in, and the library runs runtime checks so an app does not call a feature that an older Bot API version lacks. You can set a minimum Bot API version to turn off warnings for older features. Fields are reactive, so they work with Vue's watch and computed, and methods that support async work can be called with async and await as well as callbacks. The README includes documentation links, field mapping, event handling, global component registration and a note on Nuxt 3. The source is public on GitHub.…
Highlights
- Telegram Mini App components
- Login, share and post widgets
- Typed, with runtime feature checks
- Reactive fields for Vue
- Async and await support
Ratings & Reviews
No ratings yet
Be the first to rate vue-tg.
People also visit
vue3-tags-input
A tags input component for Vue 3 with custom validation, templating
vue-tg FAQ
What is vue-tg?
A Vue 3 package for building Telegram Mini Apps and Telegram Widgets.
How do I connect a Mini App to Telegram?
Place the telegram-web-app.js script before the other scripts on your page, as the README explains.
Does it work with Nuxt?
The README includes a section on using it with Nuxt 3.
Does it check which features my Bot API supports?
Yes. It runs runtime feature checks, and you can set a minimum Bot API version.
What are the best vue-tg alternatives?
Popular alternatives to vue-tg include vue3-tags-input, vue3-emoji-picker and Toastflow. See all vue-tg alternatives





















