Skip to content

docs: fix typos in CLI command examples - #600

Merged
webfansplz merged 2 commits into
vitejs:mainfrom
SaKaNa-Y:docs/fix-cli-command-typos
Oct 2, 2026
Merged

webfansplz merged 2 commits into
vitejs:mainfrom
SaKaNa-Y:docs/fix-cli-command-typos

Conversation

@SaKaNa-Y

@SaKaNa-Y SaKaNa-Y commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Important

Please take a moment to read this. Thank you!

I should include a brief explanation of the problem in my own words in every PR. If that explanation is missing, please @mention me and do not merge this PR until I have added it. You may also leave this PR unaddressed (because this means I have not fulfilled my responsibilities as the author).

If my explanation is unclear or difficult to follow, please ask me to clarify or provide reproduction steps or supporting evidence.

I welcome suggestions and counterarguments, especially questions about anything I may have overlooked. (Your feedback helps me learn and improve. 🙏)

I hold myself to this standard for every PR, regardless of its size.

Description

The CLI examples use vite devtools instead of the registered vite-devtools executable. The playground examples point to a play script that no longer exists.

Use vite-devtools in the CLI examples and remove the unsupported start subcommand. Update the programmatic build import and point the playground examples to the existing dev script.

Linked Issues

Related static-report fix: #598.

Additional context

Checks rerun for this update:

  • CLI help, playground script resolution, and the programmatic build import.
  • pnpm lint, pnpm typecheck, and git diff --check.
  • pnpm test --run: 351 passed, 2 skipped.
  • pnpm build: 7 successful tasks, all served from the build cache.

@pkg-pr-new

pkg-pr-new Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@600

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@600

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@600

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@600

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@600

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@600

commit: b24478e

@SaKaNa-Y
SaKaNa-Y marked this pull request as ready for review October 2, 2026 10:16
@SaKaNa-Y

SaKaNa-Y commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

I found these documentation issues while checking the build command for #598. This PR fixes the command typos, updates the startup and playground commands, and corrects the build import path.

As I mentioned in #589, I think we should review the documentation as a whole and update any outdated information.

@webfansplz
webfansplz merged commit 7770f49 into vitejs:main Oct 2, 2026
7 checks passed
@SaKaNa-Y
SaKaNa-Y deleted the docs/fix-cli-command-typos branch October 2, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants