Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

vuejs/create-vue

 
 

Repository files navigation

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, otherwisenpm may resolve to a cached and outdated version of the package.

Difference from Vue CLI

  • Vue CLI is based on webpack, whilecreate-vue is based onVite. 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 webpackhere.

  • 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 theVite plugin ecosystem which is Rollup-compatible.

Migrating from Vue CLI


[8]ページ先頭

©2009-2025 Movatter.jp