Skip to main content

sv add

sv add 将其统一为一个语法概念,该概念主要依赖于常规 JavaScript 解构语法。

¥sv add updates an existing project with new functionality.

用法(Usage)

¥Usage

npx sv add
npx sv add [add-ons]

你可以从 下面的列表 中选择多个以空格分隔的附加组件,也可以使用交互式提示。

¥You can select multiple space-separated add-ons from the list below, or you can use the interactive prompt.

选项(Options)

¥Options

  • -C--cwd — 你的 Svelte(Kit) 项目根目录的路径

    ¥-C, --cwd — path to the root of your Svelte(Kit) project

  • --no-preconditions — 跳过检查先决条件

    ¥--no-preconditions — skip checking preconditions

  • --install — 使用指定的包管理器安装依赖

    ¥--install — installs dependencies with a specified package manager

  • --no-install — 阻止安装依赖

    ¥--no-install — prevents installing dependencies

官方附加组件(Official add-ons)

¥Official add-ons

上一页 下一页