Repository: https://github.com/tomtkg/React-Tutorial
URL: https://tomtkg.github.io/React-Tutorial
This is a self-study repository of the following site.
The sidebar and screen are rendered using react-router-dom.
The top page displays README.md using react-markdown.
Install Node.js from here.
npm install -g npx
npx create-react-app react-tutorial --template typescript
npm install react-router-dom react-markdown
cd react-tutorial
npm start
Use GitHub Actions like this.
- Build: actions/upload-pages-artifact
- Deploy: actions/deploy-pages
Check .github/workflows/ci.yml for details.