Skip to content

feat(create-vite): add option to scaffold Vite DevTools integration#22798

Open
tangyuan0821 wants to merge 2 commits into
vitejs:mainfrom
tangyuan0821:main
Open

feat(create-vite): add option to scaffold Vite DevTools integration#22798
tangyuan0821 wants to merge 2 commits into
vitejs:mainfrom
tangyuan0821:main

Conversation

@tangyuan0821

@tangyuan0821 tangyuan0821 commented Jun 28, 2026

Copy link
Copy Markdown

Add --devtools CLI flag and interactive prompt for Vue templates. Scaffolds vite-plugin-vue-devtools in package.json and vite.config.

The --devtools flag was adding vite-plugin-vue-devtools to non-Vue templates (React, Svelte, etc.), contradicting its documented behavior.

Added isVueTemplate guard so the flag only takes effect when scaffolding Vue (vue / vue-ts) templates.
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.

1 participant