[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8683":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},8683,"create-vue","vuejs\u002Fcreate-vue","vuejs","🛠️ The recommended way to start a Vite-powered Vue project","",null,"Vue",4371,521,26,25,0,4,8,1,62.95,"Other",false,"main",true,[26,27,28,7],"vite","vue","vue3","2026-06-12 04:00:40","# create-vue \u003Ca href=\"https:\u002F\u002Fnpmx.dev\u002Fpackage\u002Fcreate-vue\">\u003Cimg src=\"https:\u002F\u002Fnpmx.dev\u002Fapi\u002Fregistry\u002Fbadge\u002Fversion\u002Fcreate-vue\" alt=\"npm package\">\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fnpmx.dev\u002Fpackage\u002Fcreate-vue\">\u003Cimg src=\"https:\u002F\u002Fnpmx.dev\u002Fapi\u002Fregistry\u002Fbadge\u002Fdownloads-week\u002Fcreate-vue\" alt=\"npm package\">\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fnodejs.org\u002Fen\u002Fabout\u002Fprevious-releases\">\u003Cimg src=\"https:\u002F\u002Fnpmx.dev\u002Fapi\u002Fregistry\u002Fbadge\u002Fengines\u002Fcreate-vue\" alt=\"node compatibility\">\u003C\u002Fa>\n\nThe recommended way to start a Vite-powered Vue project\n\n\u003Cp align=\"center\">\n  \u003Cimg width=\"898\" alt=\"Screencast from terminal\" src=\"https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fcreate-vue\u002Fblob\u002Fmain\u002Fmedia\u002Fscreencast-cli.gif?raw=true\">\n\u003C\u002Fp>\n\n## Usage\n\nTo create a new Vue project using `create-vue`, simply run the following command in your terminal:\n\n```sh\nnpm create vue@latest\n```\n\n> [!IMPORTANT]\n> (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.\n\nBy default, the command runs in interactive mode with prompts. You can skip these prompts by providing feature flags as CLI arguments. To see all available feature flags and options:\n\n```sh\nnpm create vue@latest -- --help\n```\n\nThis will show you various feature flags (like `--typescript`, `--router`) and options (like `--bare` for creating a project with minimal boilerplate).\n\n**PowerShell users:** You'll need to quote the double dashes: `npm create vue@latest '--' --help`\n\n### Creating Vue 2 Projects\n\nIf you need to support IE11, you can create a Vue 2 project with:\n\n```sh\nnpm create vue@legacy\n```\n\n> [!WARNING]  \n> [Vue 2 Has Reached End of Life](https:\u002F\u002Fv2.vuejs.org\u002Feol\u002F)\n\n## Difference from Vue CLI\n\n- Vite-Powered: Vue CLI is based on webpack, while `create-vue` is based on [Vite](https:\u002F\u002Fvite.dev\u002F). 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:\u002F\u002Fvite.dev\u002Fguide\u002Fwhy.html).\n\n- Scaffolding Tool: 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](https:\u002F\u002Fvite.dev\u002Fplugins\u002F) which is Rollup-compatible.\n\n## Migrating from Vue CLI\n\nIf you're transitioning from Vue CLI to Create Vue, we've got you covered. Here are some resources to help you with the migration:\nHow to Migrate from Vue CLI to Vite\n\n- Vue CLI to Vite Migration Guide: A comprehensive guide on migrating from Vue CLI to Vite, available on [VueSchool.io](https:\u002F\u002Fvueschool.io\u002Farticles\u002Fvuejs-tutorials\u002Fhow-to-migrate-from-vue-cli-to-vite\u002F)\n- Tools and Plugins for Migration: For a smoother transition, check out the list of tools and plugins designed to assist with the migration process on the\n  [Awesome Vite GitHub page](https:\u002F\u002Fgithub.com\u002Fvitejs\u002Fawesome-vite#vue-cli).\n","create-vue 是一个用于快速搭建基于 Vite 的 Vue 项目的官方推荐工具。它支持 Vue 3，并通过 Vite 提供了极快的开发服务器启动速度和热模块替换功能，从而显著提升开发体验。用户可以通过简单的命令行操作来创建项目，并根据需要选择不同的特性（如 TypeScript、路由等）。此外，该工具还提供了从 Vue CLI 迁移到 Vite 的指南和支持。适用于希望采用最新技术栈快速构建现代 Web 应用的开发者。",2,"2026-06-11 03:19:16","top_language"]