This commit is contained in:
@@ -13,6 +13,7 @@ export default defineBoot(({ app }) => {
|
||||
if (window.Telegram?.WebApp) {
|
||||
const webApp = window.Telegram.WebApp
|
||||
webApp.ready()
|
||||
webApp.SettingsButton.isVisible = true
|
||||
app.config.globalProperties.$tg = webApp
|
||||
app.provide('tg', webApp)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user