Telegram-Mini-Apps / telegram-apps

Made from scratch TypeScript packages, examples and documentation you will surely need to start developing on Telegram Mini Apps.
https://docs.telegram-mini-apps.com/
MIT License
691 stars 191 forks source link

[Feature]: Improve sdk-vue docs #531

Open dnischeta opened 2 weeks ago

dnischeta commented 2 weeks ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

I would like to collect some improvements/fixes for @telegram-apps/sdk-vue docs page. Then I'll contribute.

Fixes:

  1. Rename index.tsx -> index.ts in example code widgets.
  2. Fix import (Vue SFC export default, not named).

Improvements:

  1. Rewrite example in a Vue-way (do not need to use SFC with no template, better to use composable).
  2. Consider adding vue-router note (no hash mode).

Describe alternatives you've considered

No response

Additional context

No response

dnischeta commented 2 weeks ago

@heyqbnk , hi! Could you please assign that issue to me 😄