cra-template-tsghpages
v1.0.0
Published
CRA template with: Github Pages script and Typescript. Locked dependencies and fixed yarn audit issues.
Downloads
2
Maintainers
Readme
Inspiration 🎁
The main inspiration behind this is to encourage new react developers to deploy their website/portfolio on github pages. Many students/fresh graduates doesn't have any resource to buy web hosting I want to encourage them to take advantage of the free feature that github has made available for us.
cra-template-tsghpages ✨
CRA template with Typescript, and Github Pages scripts installed. Fixed yarn audit issues. This is a template to deploy to the github pages.
How to Install 🏗️
To use this template for your app you can run:
npx create-react-app my-app --template tsghpages
or
yarn create react-app my-app --template tsghpages
Warning ⚠️
Cloning this repo will just copy the template and will not be the bundled and configured Create React App
How to Deploy to Github Pages 🚚
- Develop your app
- Update your README
- change the homepage from the package.json to https://{your github username}.github.io
- run yarn deploy
Tips ✔️
- Create your main github page by setting up a repository https://{your github username}.github.io
- You can add additional github pages by using https://{your github username}.github.io/{route}
- Enjoy coding!
Give ☕
- If ever I helped you in any way and you want to give back, or just have too much money to spare,