Awesome
Telegram WebApp starter bundle with vanilla setup
Simple starter pack with Typescript
, Tailwind
and Vite
.
Vite helps to bundle very quickly vanilla Webapp
pages
How to use it?
- Clone this repo
- Install dependencies
yarn
- Enjoy it with Vite
How to deploy?
You can do like here.
Copy all your dist/
files to public/
and serve with backend.
Multipage?
Also you can create feature as individual component.
- Create component and bundle
- Copy to backend
public/
directory likepublic/feature
- Enable component directory in
Express
for serve static file
Example:
app.use('feature', express.static('feature'));