搜索

Pagefind 搜索引擎在构建后可用。运行 npm run build 生成搜索索引。

postbuild 脚本会运行 pagefind --site dist 索引所有页面。 构建完成后,使用 npm run preview 命令并访问此页面即可搜索。