Skip to content

Dorikyh/new-vice

Repository files navigation

Running React on Replit

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.

Getting Started

  • 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

Typescript

Just rename any file from .jsx to .tsx. You can also try our TypeScript Template