Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/balinux/twa-react


https://github.com/balinux/twa-react

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        




logo of telegram web apps




# 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 TMA](https://t.me/vite_twa_example_bot/app)
- [Link](https://twa-dev.github.io/vite-boilerplate/)

# Referensi design

[ui Design Haircut](https://assets.materialup.com/uploads/9d045287-8845-4192-a7de-776b86828505/attachment.png)

# example code

```TypeScript
import react, { FC } from 'react'

interface indexprops {

}

const index: FC = ({ }) => {
return (


index

)
}

export default index;
```

# Ui design

[Ui design](https://www.uplabs.com/posts/hair-salon-mobile-app-ui-design)