MARCH 24, 2020
Using Lighthouse with Gatsby
Firstly you need to install Lighthouse.
1 min read
Firstly you need to install Lighthouse.
npm install -g lighthouseYou should output all the results of the website you want to analyze in JSON format.
lighthouse --output json --output-pathYou can use Gatsby JS to pull graphql queries.
Now, let's create our query and filter only the data we want.

Conclusion
You can then create a React-based report system that integrates the query we created with useStaticQuery in Gatsby.