Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

hunghg255/react-webpack-ts

Repository files navigation

create-react-app

// Cach 1:
npx create-react-app
npm i typescript @types/node @types/react @types/react-dom
change app.js => app.tsx

// Cach 2:
npx create-react-app my-app --template typescript

React + ts builded by webpack => this source

Install

npm install

Run dev

npm start
or
npm run dev

Build

npm run build

:D