Skip to content

Sync cli docs #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2025
Merged
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
9 changes: 3 additions & 6 deletions apps/svelte.dev/content/docs/cli/30-add-ons/05-drizzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Which database variant to use:
- `sqlite` — file-based database not requiring a database server

```bash
npx sv add --drizzle=postgresql
npx sv add drizzle=database:postgresql
```

### client
Expand All @@ -41,7 +41,7 @@ The SQL client to use, depends on `database`:
- For `sqlite`: `better-sqlite3`, `libsql`, `turso`

```bash
npx sv add --drizzle=postgresql,postgres.js
npx sv add drizzle=database:postgresql+client:postgres.js
```

Drizzle is compatible with well over a dozen database drivers. We just offer a few of the most common ones here for simplicity, but if you'd like to use another one you can choose one as a placeholder and swap it out for another after setup by choosing from [Drizzle's full list of compatible drivers](https://orm.drizzle.team/docs/connect-overview#next-steps).
Expand All @@ -50,9 +50,6 @@ Drizzle is compatible with well over a dozen database drivers. We just offer a f

Whether to add Docker Compose configuration. Only available for [`database`](#Options-database) `postgresql` or `mysql`

- `docker` - generates `docker-compose.yml`
- `no-docker` - does not generate docker config

```bash
npx sv add --drizzle=postgresql,postgres.js,docker
npx sv add drizzle=database:postgresql+client:postgres.js+docker:yes
```
2 changes: 1 addition & 1 deletion apps/svelte.dev/content/docs/cli/30-add-ons/15-lucia.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ npx sv add lucia
Whether to include demo registration and login pages.

```bash
npx sv add --lucia=demo
npx sv add lucia=demo:yes
```
6 changes: 3 additions & 3 deletions apps/svelte.dev/content/docs/cli/30-add-ons/25-paraglide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ npx sv add paraglide

## Options

### availableLanguageTags
### languageTags

The languages you'd like to support specified as IETF BCP 47 language tags.

```bash
npx sv add --paraglide=en,es
npx sv add paraglide="languageTags:en,es"
```

### demo

Whether to generate an optional demo page showing how to use paraglide.

```bash
npx sv add --paraglide=demo
npx sv add paraglide="demo:yes"
```
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Which SvelteKit adapter to use:
- `netlify` — [`@sveltejs/adapter-netlify`](/docs/kit/adapter-netlify) allows you to deploy to Netlify

```bash
npx sv add --sveltekit-adapter=node
npx sv add sveltekit-adapter=adapter:node
```
2 changes: 1 addition & 1 deletion apps/svelte.dev/content/docs/cli/30-add-ons/50-tailwind.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ Which plugin to use:
- `forms` — [`@tailwindcss/forms`](https://github.com/tailwindlabs/tailwindcss-forms)

```bash
npx sv add --tailwindcss=typography
npx sv add tailwindcss="plugins:typography"
```