Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename serve command to preview to align with Vite #1649

Closed
4 tasks done
sapphi-red opened this issue Nov 30, 2022 · 1 comment · Fixed by #1651
Closed
4 tasks done

Rename serve command to preview to align with Vite #1649

sapphi-red opened this issue Nov 30, 2022 · 1 comment · Fixed by #1651

Comments

@sapphi-red
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Vite uses preview instead of serve. Vitepress uses serve.
I think it's more intuitive to use preview because that will align with Vite.

Describe the solution you'd like

Rename vitepress serve to vitepress preview.

Describe alternatives you've considered

  • Add an alias so that vitepress preview works as vitepress serve
  • Don't do this.

Additional context

No response

Validations

@sapphi-red
Copy link
Contributor Author

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant