This project was bootstrapped with Create React App.
Use the package manager yarn to install the packages.
yarn install
Routing is divided in two:
- app.tsx is where the main definition of routes happens
- Sub-page routers, for each sub-page created, the routes pertaining to that set of sub-pages needs to be defined and then the sub router must be added to app.tsx
There's an example already created so make sure to make use of it as a guideline.
In the project directory, you can run:
Runs gatsby build
, runs the application in development mode.
From Gatsby's docs: Runs a server in the background, enabling useful features like live reloading and Gatsby’s data explorer.
Runs gatsby build
, builds the app for production.
From Gatsby's docs: creates a version of your site with production-ready optimizations like packaging up your site’s config, data, and code, and creating all the static HTML pages that eventually get rehydrated into a React application.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.