1.0.0 • Published 12 months ago

capsio-frontend-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

capsio-frontend-cli

The recommended way to start a capsio frontend project

介绍

{以下是 Gitee 平台说明,您可以替换此简介 Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 https://gitee.com/enterprises}

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

1.0.0

12 months ago