Skip to content

narnia1991/cra-template-tsghpages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

See the full documentation here on how to deploy github pages site

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,

ko-fi

About

CRA template with: Github Pages script and Typescript. Locked dependencies and fixed yarn audit issues as of 12/06/2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published