Why does create-vue ask about Pinia and Vitest during scaffolding?
Tests knowledge of Vue's lean core and modular tooling. Good answers note that create-vue conditionally installs deps, scaffolds folders like src/stores or tests/, and pre-configures Vite so you skip manual wiring.
This tests your understanding of Vue's minimal core and opt-in ecosystem. A strong answer explains that create-vue is a Vite-based generator, not the framework itself, and each prompt decides what lands in package.json, which folders are created, and what boilerplate is written. Choosing Pinia adds the dependency and a src/stores stub; choosing Vitest adds testing deps, a test folder, and config. The goal is to avoid bundling unused tools and eliminate manual setup.
Read the original → vuejs.org
- #vue
- #create-vue
- #scaffolding
- #pinia
- #vitest
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.