Adding Trussworks USWDS React Wrapper (#67)

* removing unused js
* Working for first load, second raises 'failed to SSR' without DEV_SSR enabled. We will need to fix this before prod
This commit is contained in:
Nat Hillard 2021-05-20 21:54:08 -04:00 committed by GitHub
commit 13a4e5f47a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 1036 additions and 256 deletions

View file

@ -1,6 +1,16 @@
module.exports = {
siteMetadata: {
title: "Justice40 Tool",
/*
This is to workaround the following error when building locally:
Warning: React.createElement: type is invalid -- expected a string
(for built-in components) or a class/function (for composite components) but got: undefined.
at IndexPage
We will need to fix this before running `gatsby build`
*/
flags: {
DEV_SSR: false
},
plugins: [],
siteMetadata: {
title: "Justice40",
},
plugins: ['gatsby-plugin-scss-typescript'],
};