Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimaslanjaka/react-gh-pages
Implementation react dynamic routes for github pages deployment
https://github.com/dimaslanjaka/react-gh-pages
react react-dynamic-routes react-routes typescript
Last synced: 10 days ago
JSON representation
Implementation react dynamic routes for github pages deployment
- Host: GitHub
- URL: https://github.com/dimaslanjaka/react-gh-pages
- Owner: dimaslanjaka
- License: gpl-3.0
- Created: 2022-09-30T17:26:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T15:32:21.000Z (about 2 years ago)
- Last Synced: 2024-11-06T22:44:11.622Z (about 2 months ago)
- Topics: react, react-dynamic-routes, react-routes, typescript
- Language: TypeScript
- Homepage: https://dimaslanjaka.github.io/react-gh-pages
- Size: 2.64 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React With Dynamic Routes For Github Pages
[LIVE DEMO](https://dimaslanjaka.github.io/react-gh-pages) |
[SOURCE DEMO](https://github.com/dimaslanjaka/react-gh-pages/tree/gh-pages)## Features
- React v18
- Google Analytics (without external library, you can call window.gtag everywhere)
- Google Adsense (without external library, you can import `` everywhere)## Step by step to using this project
install project
```bash
npm install
```change homepage url from `package.json`
develop
```bash
npm run start
```build production
```bash
npm run build
```deploy to github pages
```bash
npm run deploy
```## React versions
- [react v17](https://github.com/dimaslanjaka/react-gh-pages/commit/e027555de1343ea38319dd43480d1678d10b56e9)