Vue Telegram Passport
vue-telegram-passport is a Vue component for Telegram Passport
Installation
Install with npm:
$ npm i vue-telegram-passport
Install with yarn:
$ yarn add vue-telegram-passport
or if you just want to try it out, unpkg has ready-to-use packages.
Usage
Import vue-telegram-passport
, pass it to the components
and use in your template
... ...
Props
You can play around with options on the official passport page
Name | Description | Required | Default |
---|---|---|---|
authParameters | docs | True | null |
authButtonOptions | docs | False | {} |
Links
- Official blog post – basic description and examples
- Official docs – bot preparation instructions
- Official JS SDK docs – fields, options descriptions