Skip to content

๐Ÿ› ๏ธ The recommended way to start a Vite-powered Vue project

License

Notifications You must be signed in to change notification settings

chihuo2104/create-vue

This branch is 418 commits behind vuejs/create-vue:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cfba2f9 ยท Jul 25, 2023
May 29, 2023
Aug 23, 2021
Dec 12, 2022
Jul 25, 2023
Jun 8, 2023
Jul 24, 2023
Jun 12, 2023
Nov 22, 2021
Jan 6, 2022
Nov 24, 2022
Aug 19, 2021
Jan 7, 2022
Jun 12, 2023
Oct 9, 2022
Jun 13, 2023
Jul 25, 2023
Jul 25, 2023
Oct 12, 2022
Jul 5, 2023
Apr 28, 2023

Repository files navigation

create-vue

The recommended way to start a Vite-powered Vue project

Usage

npm create vue@3

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

npm create vue@2

Note that the version number (@3 or @2) 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 base 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

About

๐Ÿ› ๏ธ The recommended way to start a Vite-powered Vue project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 41.6%
  • JavaScript 34.5%
  • TypeScript 20.5%
  • CSS 2.1%
  • HTML 0.8%
  • EJS 0.4%
  • Shell 0.1%