ShinkarenkoMaxim / webapp-vanilla

Telegram WebApp starter bundle with vanilla setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

  1. Clone this repo
  2. Install dependencies yarn
  3. 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.

  1. Create component and bundle
  2. Copy to backend public/ directory like public/feature
  3. Enable component directory in Express for serve static file

Example:

app.use('feature', express.static('feature'));

About

Telegram WebApp starter bundle with vanilla setup


Languages

Language:HTML 37.5%Language:CSS 24.6%Language:JavaScript 23.6%Language:TypeScript 14.4%