Single Page Apps (aka SPAs) are pages that we render, that are not documents.
For example the 404
page. These are rendered server-side but without a "doc".
To build these you run:
yarn tool spas
The SPAs are also built when running yarn build:prepare
or yarn start
.
Below we describe each SPA and this is a work in progress.
The React component is actually called <PageNotFound>
and it generates a file
called 404.html
.
This page gets used by CloudFront as an "Error page" on the distribution behavior. That means that when a document can't be found in S3 as a regular key, it renders this instead.
To debug the 404 page, in local development you have two choices:
The latter is used so you get hot-reloading as you're working on it. This will only work when you do local development on Yari.
UNDER DEVELOPMENT. Watch this space!
UNDER DEVELOPMENT. Watch this space!
UNDER DEVELOPMENT. Watch this space!
UNDER DEVELOPMENT. Watch this space!