A template repo for scaffolding basic TypeScript/React projects
- Ensure that the latest versions of node and npm are installed
- Install webpack, webpack-cli and webpack-dev-server globally:
npm install -g webpack webpack-cli webpack-dev-server
- Click on "Use this template", and create a new repo from it
- Clone the new repo locally. From the root directory, run the following:
npm install
npm run start
- Browse to http://localhost:8080
The React app should load correctly, and display a "Hello, World!" message.