Search works on the built site; run npm run build and npm run preview to try it.
npm run build
npm run preview