Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/explain-sv-add-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

docs(create): explain `sv add` in generated READMEs
14 changes: 14 additions & 0 deletions packages/sv/src/cli/tests/snapshots/create-experimental/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ To recreate this project with the same configuration:
npx sv@0.0.0 create --template minimal --types ts --add sveltekit-adapter="adapter:cloudflare+cfTarget:workers" drizzle="database:sqlite+sqlite:libsql" better-auth="demo:password,github" experimental="features:remoteFunctions" --no-install packages/sv/.test-output/cli/create-experimental
```

## Adding features

Add features to your project with `sv add`:

```sh
npx sv add
```

For example, to add Tailwind CSS:

```sh
npx sv add tailwindcss
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Expand Down
14 changes: 14 additions & 0 deletions packages/sv/src/cli/tests/snapshots/create-only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ To recreate this project with the same configuration:
npx sv@0.0.0 create --template minimal --types ts --no-install packages/sv/.test-output/cli/create-only
```

## Adding features

Add features to your project with `sv add`:

```sh
npx sv add
```

For example, to add Tailwind CSS:

```sh
npx sv add tailwindcss
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ To recreate this project with the same configuration:
npx sv@0.0.0 create --template minimal --types ts --add prettier eslint vitest="usages:unit,component" playwright tailwindcss="plugins:typography,forms" sveltekit-adapter="adapter:node" drizzle="database:sqlite+sqlite:libsql" better-auth="demo:password,github" mdsvex paraglide="languageTags:en,es+demo:yes" ai-tools="ide:claude-code,cursor,gemini,opencode,vscode,other+delivery:tools+tools:mcp,svelte-code-writer,svelte-core-bestpractices,svelte-file-editor+mcpSetup:local" --no-install packages/sv/.test-output/cli/create-with-all-addons
```

## Adding features

Add features to your project with `sv add`:

```sh
npx sv add
```

For example, to add Tailwind CSS:

```sh
npx sv add tailwindcss
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Expand Down
14 changes: 14 additions & 0 deletions packages/sv/src/create/shared/+library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ npx sv create
npx sv create my-app
```

## Adding features

Add features to your project with `sv add`:

```sh
npx sv add
```

For example, to add Tailwind CSS:

```sh
npx sv add tailwindcss
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Expand Down
14 changes: 14 additions & 0 deletions packages/sv/src/create/shared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ If you're seeing this, you've probably already done this step. Congrats!
npx sv create my-app
```

## Adding features

Add features to your project with `sv add`:

```sh
npx sv add
```

For example, to add Tailwind CSS:

```sh
npx sv add tailwindcss
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Expand Down
Loading