Vue · Junior · Question 2 of 75
What is the recommended way to scaffold a new Vue project?
- ✓Correct answer:
npm create vue@latest - 2
vue init webpack my-app - 3
npx create-react-app --template vue
Explanation
create-vue sets up a Vite-based project and optionally adds TypeScript, Vue Router, Pinia, Vitest, ESLint and end-to-end testing. The old Vue CLI (webpack-based) is in maintenance mode.