Open ZhulinskiiDanil opened 5 months ago
Hello. Telegram Mini App API exists only in Telegram app, so we can't render it on server side. How do you expect it to work?
Hello. Telegram Mini App API exists only in Telegram app, so we can't render it on server side. How do you expect it to work?
As an option on the server, avoid the error and return null so that you don’t have to write constructs using onMounted
Unfortunately, I don't have enough experience with nuxt and not sure how to implement it properly. PRs are welcome!
Please! Integrate with nuxt 3
This works only if i write this:
If i write import without onMounted, nuxt throws error "Telegram is not defined"
because nuxt first render in server side