1.0.1 • Published 1 year ago

@aynh603/cra-template-gh-pages v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Template for using Github Pages with create-react-app

This template for create-react-app creates a template for creating and hosting a website with react and github pages.

This template uses basic javascript, and does not include the testing and performance measuring features the basic create-react-app template includes.

Usage

In the command line, after cloning navigating into an empty repository, run npx create-react-app . --template @aynh603/gh-pages.

In package.json, you will need to fill in the value for the "homepage" attribute with your github username and the repository name.

After running npm run deploy to build and deploy the app, you should see your website at https://{username}.github.io/{repo-name}.