a complete non-interactive command for creating app #20846
-
|
After the latest update, there are two more interactive options,
This is how my command looks like right now, which skips both of those cool new features pnpm create vite my-app-name --template react --no-interactive
# or
npm create vite@latest my-app-name -- --template react --no-interactiveBasically, I want to implement those new features. |
Beta Was this translation helpful? Give feedback.
Answered by
marcusvramos
Oct 5, 2025
Replies: 1 comment 5 replies
-
|
You can pass additional flags to enable those features non-interactively: For Rolldown (experimental):npm create vite@latest my-app -- --template react --rolldownFor auto-install and start:npm create vite@latest my-app -- --template react --install --startAll together:npm create vite@latest my-app -- --template react --rolldown --install --startYou can check all available flags with: Let me know if this works! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My mistake! I checked the help output and the correct flag is
--immediate(or-i), not--installand--start:This will install dependencies and start the dev server automatically.
For all features together:
Thanks for testing and pointing that out!