Skip to content

Phonbopit/gatsby-search-algolia-example

Repository files navigation

Gatsby Search with Algolia

ตัวอย่างการทำ Search ด้วย Gatsby - Algolia อ้างอิงจากบทความ https://www.gatsbyjs.org/docs/adding-search-with-algolia/

บทความที่เขียน https://devahoy.com/blog/2020/04/gatsby-search-with-algolia/

Usage

  1. ลง dependencies
npm install
  1. เปลี่ยนค่า API Key ของ Algolia ในไฟล์ .env (ก็อปจาก .env.example ได้) และรัน build เพื่อส่ง index ไปเก็บที่ Algolia
npm run build
  1. จากนั้น Start server ได้เลย ลองเพิ่มเนื้อหา และ submit index ไปใหม่

Have Fun!

About

Implement Gatsby Search with Algolia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published