FastComments.com

Add Comments to Your GatsbyJS Site


これは FastComments の公式 GatsbyJS ライブラリです。

FastComments をセットアップした GatsbyJS サイトの例

リポジトリ

GitHubで表示


🚀 クイックスタート Internal Link

  1. 実際に動作を確認する。

    新しいサイトのディレクトリに移動して起動します。

    cd fastcomments-gatsbyjs-example/
    npm install
    gatsby develop
  2. Gatsby サイトに FastComments を追加する。

    src/pages/index.js を確認してください。この1行がウィジェットをインスタンス化する方法です:

    return <FastCommentsCommentWidget tenantId="demo" />;

Internal Link


  1. シンプルな例

    http://localhost:8000/commenting

    コード: src/pages/commenting.tsx.

  1. ダークモード切り替え

    http://localhost:8000/dark-mode

    コード: src/pages/dark-mode.tsx.

  1. ページ遷移

    http://localhost:8000/page-transition-test-start

    コード: src/pages/page-transition-test-start.tsx.

さらに詳しくは http://localhost:8000 にアクセスしてください

ヘルプが必要ですか?

GatsbyJS ライブラリに関して問題が発生したり質問がある場合は、次をご利用ください:

貢献

貢献は歓迎します! 貢献のガイドラインについてはGitHubリポジトリをご覧ください。