$ npx create-react-app azure-static-web-react-typescript --template typescript
Githubにリポジトリを作成して、
$ git remote add origin git@github.com:hiroyuki12/azure-static-web-app-react-typescript.git
$ git branch -M main
$ git push -u origin main
コンソールで、static web appで検索
Azure コンソールで、Azure Static Web Appsを作成
OverviewのDeployment historyで処理中かデプロイ完了か確認できる。緑のチェックは完了。
https://ashy-plant-0e2c36700.azurestaticapps.net
GitHub - hiroyuki12/azure-static-web-app-react-typescript
pushすると、Azure Static Web AppsのReact TypeScript Appが更新される。
cloneした後、$ npm start でエラー
sh: react-scripts: command not found
解決方法 $ npm install して、$ npm start