Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 380 Bytes

File metadata and controls

35 lines (25 loc) · 380 Bytes

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