A simple boilerplate for building a React app in TypeScript using modern React hooks.
First install dependencies:
npm install
To run in hot module reloading mode accessible on port 8080:
npm start
To create a production build:
npm run build-prod
To create a development build:
npm run build-dev
When running hot module reloading, visit localhost:8080. Otherwise, open the file dist/index.html
in your browser