gatsby-starter-notion
v1.0.0
Published
Gatsby starter for notion
Downloads
1
Maintainers
Readme
Gatsby Starter Notion
Features
- Disqus (Blog comment hosting service)
- Google Analytics
- Sitemap
- RSS Feeds
⚠️ Prerequisite
You need a token to use this package.
You can get it from Notion.so cookie. the key of it is token_v2
.
Then set NOTION_TOKEN
with your token.
$ export NOTION_TOKEN="<<YOUR_NOTION_TOKEN>>"
⚙️ Options
You can check build options on this.
🚀 Quick start
Create a Gatsby site.
Use the Gatsby CLI to create a new site with gatsby-starter-notion
gatsby new my-blog https://github.com/wonism/gatsby-starter-notion
Start developing.
Navigate into your new site’s directory and start it up.
cd my-blog npm start
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.
🏗 Build
$ npm run build