This is the simplest possible example of a frontend built with TypeScript and React and bundled with Parcel (v2).
If you like this project, please star this repo and support my work
You need Node.js installed to use this code.
Uses pnpm because it's faster than npm.
First install pnpm:
npm install -g pnpm
Then clone this repo then install dependenices:
pnpm install
pnpm start
Open a browser and navigate to http://localhost:1234/.
pnpm run build
The static web page is output to the dist
subdirectory.
You can test it using live-server
:
cd dist
npm install -g live-server
live-server
Do this if you want to check for compile errors.
pnpm run compile