Skip to content

Commit 452e4fe

Browse files
committed
docs: update
1 parent dd6dfc9 commit 452e4fe

File tree

5 files changed

+546
-359
lines changed

5 files changed

+546
-359
lines changed

docs/features/pass-logs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ On the server side, replace `console` with `client`.
5252

5353
Here's an example in `Nuxt`:
5454

55-
```ts{2,9-11} twoslash
56-
// server/api/test.ts
55+
```ts{2,9-11} [server/api/test.ts] twoslash
5756
import { client } from 'unplugin-turbo-console/helper'
5857
import { defineEventHandler } from 'h3'
5958

docs/guide/configurations.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
There are two ways to configure the TypeScript type:
2020

21-
1. On `tsconfig.json` file:
22-
23-
```json
21+
```json [tsconfig.json]
2422
{
2523
"compilerOptions": {
2624
"types": [
@@ -30,8 +28,8 @@ There are two ways to configure the TypeScript type:
3028
}
3129
```
3230

33-
2. On `.d.ts` file:
31+
Or
3432

35-
```ts
33+
```ts [*.d.ts]
3634
/// <reference types="unplugin-turbo-console/client" />
3735
```

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"unplugin-turbo-console": "workspace:*",
1818
"vite-plugin-inspect": "^0.8.4",
1919
"vitepress": "^1.3.3",
20-
"vitepress-plugin-group-icons": "1.1.0"
20+
"vitepress-plugin-group-icons": "^1.2.0"
2121
}
2222
}

examples/solid-start/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
},
1010
"dependencies": {
1111
"@solidjs/meta": "^0.29.4",
12-
"@solidjs/router": "^0.14.1",
13-
"@solidjs/start": "^1.0.2",
14-
"solid-js": "^1.8.17",
15-
"vinxi": "^0.3.12",
16-
"unplugin-turbo-console": "workspace:*"
12+
"@solidjs/router": "^0.14.5",
13+
"@solidjs/start": "^1.0.6",
14+
"solid-js": "^1.8.22",
15+
"unplugin-turbo-console": "workspace:*",
16+
"vinxi": "^0.4.3"
1717
},
1818
"engines": {
1919
"node": ">=18"

0 commit comments

Comments
 (0)