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

  • --no-install — 跳过依赖安装

    ¥--no-install — skip dependency installation

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

¥Official add-ons

  • drizzle

  • eslint

  • sveltekit-adapter

  • lucia

  • mdsvex

  • paraglide

  • playwright

  • prettier

  • storybook

  • tailwindcss

  • vitest

上一页 下一页