vite preview [root]

Locally preview the production build

Arguments

NameDescription
rootfolders

Options

NameDescription
--host [host]Specify the hostname
--port <port>Specify the port
--httpsUse TLS + HTTP/2
--open [browser]Open browser on startup
--strictPortExit if the port is already in use