Quik Start (中文文档)
You will get a free site, a repository called gatsby-starter-gine-blog
will be created (by netlify) under your github account. Just modify two lines in gatsby-config.js to complete the configuration.
Clone this page into your own notion. There are some tables in the page, there are 2 configuration tables. One is the site configuration and the other is the data source configuration. Replace the url of the configuration table in gatsby-config.js with your own.
- SiteConfig - UI -
gatsby-theme-gine-blog
- SourceConfig - Data -
gatsby-source-notion-database
- install gatsby-cli
yarn global add gatsby-cli
- get starter code
gatsby new my-gine-blog https://github.com/mayneyao/gatsby-starter-gine-blog.git
- run
yarn develop
module.exports = {
plugins: [
{
resolve: `gatsby-theme-gine-blog`,
options: {
configTable: "https://www.notion.so/b4af861710064848aaf9f859c79bb127?v=0de244d6f8414ade9b7b147adcb2f78e", // Url of SiteConfig table
}
},
{
resolve: `gatsby-source-notion-database`,
options: {
configTable: "https://www.notion.so/65b35da1762e4f259904bb4cc38e54fd?v=89e80623e52e4419a35f20e54056cfb8", // Url of SourceConfig table
}
}
],
}