React is a popular JavaScript library for building user interfaces.
Vite is a blazing fast frontend build tool that includes features like Hot Module Reloading (HMR), optimized builds, and TypeScript support out of the box.
Using the two in conjunction is one of the fastest ways to build a web app.
- Hit run
- Edit App.jsx and watch it live update!
By default, Replit runs the dev
script, but you can configure it by changing the run
field in the configuration file. Here are the vite docs for serving production websites
Just rename any file from .jsx
to .tsx
. You can also try our TypeScript Template
** ก่อนหน้านี้ทำบน Replit ตอนนี้ย้ายมาทพในเครื่องแล้ว