Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShinkarenkoMaxim/webapp-vanilla
Telegram WebApp starter bundle with vanilla setup
https://github.com/ShinkarenkoMaxim/webapp-vanilla
Last synced: 3 months ago
JSON representation
Telegram WebApp starter bundle with vanilla setup
- Host: GitHub
- URL: https://github.com/ShinkarenkoMaxim/webapp-vanilla
- Owner: ShinkarenkoMaxim
- Created: 2022-05-06T20:48:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-06T20:49:47.000Z (over 2 years ago)
- Last Synced: 2024-07-15T10:48:38.375Z (4 months ago)
- Language: HTML
- Size: 13.7 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-grammY - ShinkarenkoMaxim/webapp-vanilla - Telegram Web App starter template. (Templates)
README
# Telegram WebApp starter bundle with vanilla setup
Simple starter pack with `Typescript`, `Tailwind` and `Vite`.
[**Vite**](https://vitejs.dev/) helps to bundle very quickly vanilla `Webapp` pages
## How to use it?
1. Clone this repo
2. Install dependencies `yarn`
3. Enjoy it with [**Vite**](https://vitejs.dev/guide/#command-line-interface)## How to deploy?
You can do like [here](https://github.com/ShinkarenkoMaxim/simple-quiz).
Copy all your `dist/` files to `public/` and serve with backend.
## Multipage?
Also you can create feature as individual component.
1. Create component and bundle
2. Copy to backend `public/` directory like `public/feature`
3. Enable component directory in `Express` for serve static fileExample:
```app.use('feature', express.static('feature'));```