To provide fast, local search of your blog, this starter template comes with a pre-built Vue.js component that uses Fuse.js. Fuse.js is a "lightweight fuzzy-search library with no dependencies." It works by running queries against a JSON index of your content.

During the build process, the contents of your posts collection is processed by the GenerateIndex.php listener, and an index.json file is generated in the build directory. The search.blade.php component provides a search input that queries this local index.

If you'd like to customize the generation of your search index, take a look at the handle method of the GenerateIndex.php file.

Iklan
Pendaftaran Siswa Baru 2024/2025
Pendaftaran Siswa Baru 2024/2025

Daftarkan putra-putri Anda untuk tahun ajaran 2024/2025. Program unggulan: Tahfidz Quran, Bahasa Arab, dan Pendidikan Karakter Islami

Daftar Sekarang