Create a React project from scratch, with TypeScript and Webpack

1 · Alex Adam · May 22, 2021, 2:48 p.m.
A step by step guide on how to create a React project from scratch, with TypeScript and Webpack.You can find the full source code here: https://github.com/alexadam/project-templates/tree/master/projects/react-appSetupPrerequisites:nodeyarnCreate the project’s folder:mkdir react-app cd react-appGenerate a default package.json file with yarn:yarn init -yInstall React, TypeScript and Webpack:yarn add react react-domyarn add --dev @types/react \ @types/react-dom \ awesome-typescript-lo...