MBP(はてな)

MacBook Pro,iPhone Xs,React

React Typescript

f:id:fedora9:20210809101713p:plain

$ npx create-react-app typescript-react-pages --template typescript

$ cd typescript-react-pages
$ vi src/App.tsx

ReactでQiita APIから記事情報を取得して表示 - MBP(はてな)

Githubリポジトリを作成して、push
プロジェクトのトップディレクトリで、
$ git remote add origin git@github.com:hiroyuki12/typescript-react-pages.git
$ git branch -M main
$ git push -u origin main

$ npm start

http://localhost:3000