vuejs / create-vue

🛠️ The recommended way to start a Vite-powered Vue project
Other
3.53k stars 402 forks source link
vite vue vue3 vuejs

create-vue npm package node compatibility

The recommended way to start a Vite-powered Vue project

Usage

To create a new Vue project using create-vue, simply run the following command in your terminal:

npm create vue@latest

[!NOTE] (@latest or @legacy) MUST NOT be omitted, otherwise npm may resolve to a cached and outdated version of the package.

Or, if you need to support IE11, you can create a Vue 2 project with:

npm create vue@legacy

[!WARNING]
Vue 2 Has Reached End of Life

Difference from Vue CLI

Migrating from Vue CLI

If you're transitioning from Vue CLI to Create Vue, we've got you covered. Here are some resources to help you with the migration: How to Migrate from Vue CLI to Vite