Skip to content

Commit

Permalink
docs: update preview port (#6826)
Browse files Browse the repository at this point in the history
  • Loading branch information
soetz committed Feb 9, 2022
1 parent 12ff293 commit c70dc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/static-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ npm run build
$ npm run preview
```

The `vite preview` command will boot up local static web server that serves the files from `dist` at `http://localhost:5000`. It's an easy way to check if the production build looks OK in your local environment.
The `vite preview` command will boot up local static web server that serves the files from `dist` at `http://localhost:4173`. It's an easy way to check if the production build looks OK in your local environment.

You may configure the port of the server py passing `--port` flag as an argument.

Expand Down

0 comments on commit c70dc6a

Please sign in to comment.