Skip to content

🛠️ The recommended way to start a Vite-powered Vue project

License

Notifications You must be signed in to change notification settings

vuejs/create-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 20, 2023
d01bf16 · Oct 20, 2023
Sep 12, 2023
Aug 23, 2021
Oct 20, 2023
Jul 29, 2023
Sep 19, 2023
Oct 16, 2023
Oct 17, 2023
Oct 17, 2023
Nov 22, 2021
Jan 6, 2022
Sep 14, 2023
Aug 19, 2021
Jan 7, 2022
Jun 12, 2023
Oct 9, 2023
Oct 16, 2023
Oct 20, 2023
Oct 17, 2023
Oct 12, 2022
Sep 15, 2023
Oct 16, 2023

Repository files navigation

create-vue npm package node compatibility

The recommended way to start a Vite-powered Vue project

Usage

npm create vue@latest

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

npm create vue@legacy

Note that the tag name (@latest or @legacy) MUST NOT be omitted, otherwise npm may resolve to a cached and outdated version of the package.

Difference from Vue CLI

  • Vue CLI is based on webpack, while create-vue is based on Vite. Vite supports most of the configured conventions found in Vue CLI projects out of the box, and provides a significantly better development experience due to its extremely fast startup and hot-module replacement speed. Learn more about why we recommend Vite over webpack here.

  • Unlike Vue CLI, create-vue itself is just a scaffolding tool: it creates a pre-configured project based on the features you choose, and delegates the rest to Vite. Projects scaffolded this way can directly leverage the Vite plugin ecosystem which is Rollup-compatible.

Migrating from Vue CLI