Created
February 23, 2019 13:40
-
-
Save johno/17c58c7f65ea09225315778b8cad5ab1 to your computer and use it in GitHub Desktop.
Add gatsby-plugin-page-creator to your Gatsby Theme's config in order to create pages (this will soon be built into themes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path') | |
module.exports = { | |
plugins: [ | |
// ... | |
{ | |
resolve: 'gatsby-plugin-page-creator', | |
options: { | |
path: path.join(__dirname, 'src', 'pages') | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment