gatsby-starter-notion

1.0.0 • Public • Published

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

  1. 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
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-blog
    npm start
  3. 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

Package Sidebar

Install

npm i gatsby-starter-notion

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

32.2 kB

Total Files

28

Last publish

Collaborators

  • wonism