vite preview [root]
Locally preview the production build
Arguments
Name | Description |
---|---|
root | folders |
Options
Name | Description |
---|---|
--host [host] | Specify the hostname |
--port <port> | Specify the port |
--https | Use TLS + HTTP/2 |
--open [browser] | Open browser on startup |
--strictPort | Exit if the port is already in use |