Skip to content

Commit

Permalink
Add offline support
Browse files Browse the repository at this point in the history
  • Loading branch information
pdhoopr committed Sep 17, 2019
1 parent adda8ea commit 6ded587
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 18 deletions.
8 changes: 8 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ module.exports = {
icon: 'src/images/favicon.svg',
},
},
{
resolve: 'gatsby-plugin-nprogress',
options: {
color: theme.colors.orange,
showSpinner: false,
},
},
'gatsby-plugin-offline',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
{
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"babel-plugin-styled-components": "^1.10.6",
"gatsby": "^2.15.16",
"gatsby-plugin-manifest": "^2.2.16",
"gatsby-plugin-nprogress": "^2.1.6",
"gatsby-plugin-offline": "^3.0.7",
"gatsby-plugin-react-helmet": "^3.1.7",
"gatsby-plugin-sitemap": "^2.2.12",
"gatsby-plugin-styled-components": "^3.1.5",
Expand Down
Loading

0 comments on commit 6ded587

Please sign in to comment.