Level 6
When you run Vite under development compilation (typically npm run dev), it will run a client in your browser to auto-refresh and rehydrate your page elements when file changes are made. It does this through the localhost:5174 address, which is sometimes formatted at [::1]:5174.
If you build your code using Vite into production compilation (typically npm run build), your asset URLs will use the correct links to your site.