Bootstrapping a React TypeScript project with Parcel

added by JavaScript Kicks
9/10/2018 12:37:53 PM

421 Views

With the Parcel bundler, you can bootstrap a React TypeScript project with (almost) zero configuration. First, create a folder, cd into it, initialize NPM, install parcel and your React dependencies: mkdir react-number-game cd react-number-game npm init -y npm i parcel-bundler --save-dev npm i react react-dom @types/react @types/react-dom --save mkdir src Then, open your favorite code editor.


0 comments