This example shows how developer could use TypeScript along with Vite to start developing at Telegram Mini Apps platform.
Don't forget, that you should open this application inside Telegram. Otherwise, you will get an error related to the wrong environment.
First of all, install all dependencies:
pnpm i
Then, just run dev server and follow the link in console:
pnpm run dev