先に結論 allowedHostsを設定する allowedHostsを.ではじめる指定かどうかでVite開発用WebSocket(HMR)のホスト名が変わるので注意 Viteのセキュリティ警告が出たので、アップデート $ yarn npm audit └─ vite ├─ ID: 1101618 ├─ Issue: Websites were able to send any requests to the development server and read the response in vite ├─ URL: https://github.com/advisories/GHSA-v…