https://github.com/nyavro/react-mini-app
https://github.com/nyavro/react-mini-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nyavro/react-mini-app
- Owner: nyavro
- Created: 2023-10-23T15:53:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T16:04:19.000Z (almost 2 years ago)
- Last Synced: 2025-02-12T05:58:49.524Z (8 months ago)
- Language: CSS
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# Telegram Mini Apps(TMA) + React + TypeScript + Vite
Vite (which means "fast" in French) is a front-end build tool and development server that aims to provide a faster and leaner development experience for modern web projects. We will utilise Vite to create Telegram Mini App example.
This template provides a minimal setup to get TMA working in Vite with React, TypeScript, HMR and some ESLint rules.
## Usage
```bash
# npm
npm install
npm run dev --host
```
```bash
# yarn
yarn
yarn dev --host
```
# Links
- [Doc](https://docs.ton.org/develop/dapps/twa)
- [Example Bot](https://t.me/vite_twa_example_bot)
- [Link](https://twa-dev.github.io/vite-boilerplate/)