搜尋索引只在 npm run build 後產生;開發模式下請用 npm run build && npm run preview 測試。
npm run build
npm run build && npm run preview