Skip to content

Commit 898654e

Browse files
Sync cli docs (#1387)
sync cli docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 9a44308 commit 898654e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

apps/svelte.dev/content/docs/cli/20-commands/20-sv-add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ You can select multiple space-separated add-ons from [the list below](#Official-
3939
- [`sveltekit-adapter`](sveltekit-adapter)
4040
- [`tailwindcss`](tailwind)
4141
- [`vitest`](vitest)
42+
- [`devtools-json`](devtools-json)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-docs/index.ts
3+
title: devtools-json
4+
---
5+
6+
`devtools-json` is essentially a vite plugin [vite-plugin-devtools-json](https://github.com/ChromeDevTools/vite-plugin-devtools-json/) for generating the Chrome DevTools project settings file on-the-fly in the devserver.
7+
8+
It will prevent this server log:
9+
10+
```sh
11+
Not found: /.well-known/appspecific/com.chrome.devtools.json
12+
```
13+
14+
## Usage
15+
16+
```bash
17+
npx sv add devtools-json
18+
```
19+
20+
## What you get
21+
22+
- the `vite` plugin added to your vite plugin options.

0 commit comments

Comments
 (0)