Skip to content

Commit 507c76e

Browse files
committed
chore: add information for Vue CLI users [ci skip]
1 parent 6b1ced0 commit 507c76e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# create-vue
22

3-
An easy way to start a Vue project
3+
The recommended way to start a Vite-powered Vue project
44

55
## Usage
66

@@ -15,3 +15,15 @@ npm init vue@2
1515
```
1616

1717
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.
18+
19+
## Difference from Vue CLI
20+
21+
- Vue CLI is based on webpack, while `create-vue` is based on [Vite](https://vitejs.dev/). 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](https://vitejs.dev/guide/why.html).
22+
23+
- 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](https://vitejs.dev/plugins/) which is Rollup-compatible.
24+
25+
## Migrating from Vue CLI
26+
27+
- [Vue CLI -> Vite Migration Guide from VueSchool.io](https://vueschool.io/articles/vuejs-tutorials/how-to-migrate-from-vue-cli-to-vite/)
28+
29+
- [Tools / Plugins that help with auto migration](https://github.com/vitejs/awesome-vite#vue-cli)

media/screenshot-browser.png

834 KB
Loading

media/screenshot-cli.png

453 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy