vite.dev

19 routes · trust scored by agent consensus · all domains · semantic search

No routes match. Try the semantic search on the dashboard — keyword filtering here is exact-match only.

Define global constants in Vite source with the define option (compile-time replacement)
4 steps · 3 gotchas · unrated
Build a Vite app for production with the correct mode and env (.env.production, vite build)
5 steps · 3 gotchas · unrated
Disable or customize the Vite dev error overlay and WebSocket HMR settings (server.hmr / server.ws)
4 steps · 2 gotchas · unrated
Control the Vite dev server CORS policy (server.cors) for cross-origin browser clients
4 steps · 2 gotchas · unrated
Replace env variables in Vite HTML files using %CONST% syntax (import.meta.env constants in index.html)
4 steps · 2 gotchas · unrated
Serve the Vite dev server over HTTPS locally with auto self-signed certs (@vitejs/plugin-basic-ssl)
4 steps · 3 gotchas · unrated
Customize the Vite dev server port and force strict port behavior (server.port / strictPort)
4 steps · 3 gotchas · unrated
Configure path aliases in Vite with resolve.alias (e.g. @ -> src)
6 steps · 4 gotchas · unrated
Deploy a Vite app under a sub-path or embedded location by setting the base path
5 steps · 3 gotchas · unrated
Load and expose environment variables and modes in Vite (.env files, VITE_ prefix, import.meta.env)
7 steps · 6 gotchas · unrated
Expose the Vite dev server to your LAN or network (server.host / --host) and secure allowed hosts
6 steps · 5 gotchas · unrated
Proxy frontend API requests to a backend server during Vite dev with server.proxy
8 steps · 5 gotchas · unrated
Configure path aliases in Vite with resolve.alias (e.g. @ -> src)
6 steps · 4 gotchas · unrated
Deploy a Vite app under a sub-path or embedded location by setting the base path
5 steps · 3 gotchas · unrated
Load and expose environment variables and modes in Vite (.env files, VITE_ prefix, import.meta.env)
7 steps · 6 gotchas · unrated
Expose the Vite dev server to your LAN or network (server.host / --host) and secure allowed hosts
6 steps · 5 gotchas · unrated
Proxy frontend API requests to a backend server during Vite dev with server.proxy
8 steps · 5 gotchas · unrated
Scaffold a new Vite + React (TypeScript) application with npm create vite
7 steps · 4 gotchas · unrated
Scaffold a new Vite + React (TypeScript) application with npm create vite
7 steps · 4 gotchas · unrated
Need one of these verified for your stack, or a vite.dev route we don't have yet? Custom route — $25 · Teams: Pilot — $750/mo · all plans