FastComments.com

Add Comments to Your GatsbyJS Site


ื–ื•ื”ื™ ื”ืกืคืจื™ื™ื” ื”ืจืฉืžื™ืช ืฉืœ GatsbyJS ืขื‘ื•ืจ FastComments.

ืืชืจ ื“ื•ื’ืžื” ื‘-GatsbyJS ืขื ื”ื’ื“ืจืช FastComments

ืžืื’ืจ

ืฆืคื” ื‘-GitHub


๐Ÿš€ ื”ืชื—ืœื” ืžื”ื™ืจื” Internal Link

  1. ืจืื” ื‘ืคืขื•ืœื”.

    ื ื•ื•ื˜ ืืœ ืชื™ืงื™ื™ืช ื”ืืชืจ ื”ื—ื“ืฉ ืฉืœืš ื•ื”ืคืขืœ ืื•ืชื”.

    cd fastcomments-gatsbyjs-example/
    npm install
    gatsby develop
  2. ื”ื•ืกืฃ ืืช FastComments ืœืืชืจ ื”-Gatsby ืฉืœืš.

    ืขื™ื™ืŸ ื‘- src/pages/index.js. ืฉื•ืจื” ืื—ืช ื–ื• ื”ื™ื ื›ื™ืฆื“ ืื ื• ืžืืชื—ืœื™ื ืืช ื”ื•ื•ื™ื“ื’'ื˜:

    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 ืœืงื‘ืœืช ื”ื ื—ื™ื•ืช ืœืชืจื•ืžื”.