Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VitePress PreviewNew to Visual Studio Code? Get it now.
VitePress Preview

VitePress Preview

fantasy

|
1,958 installs
| (1) | Free
Use vscode builtin simple browser to preview VitePress pages.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VitePress Preview

A very small extension which use vscode builtin simple browser to preview VitePress pages.

Screenshot

preview

Command

There are two commands:

  • VitePress: Start Preview Server
  • VitePress: Stop Preview Server

Configuration

  • vp.autStart: Start VitePress server when open workspace, default is false.
  • vp.docsDir: VitePress docs folder, relative path to current workspace. Example: "docs". (You need to restart VitePress preview server if you change this option.)
  • vp.port: VitePress server port, default is 4001.

Bugs

If you find any bugs, please open an issue.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft