You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework/solid/basic-setup.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ render(() => (
65
65
]}
66
66
/>
67
67
</>
68
-
), document.getElementById('root')!);
68
+
), document.getElementById('root')!)
69
69
```
70
70
71
71
Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../../configuration.md) section.
Copy file name to clipboardExpand all lines: docs/production.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Production
3
3
id: production
4
-
---
5
-
4
+
---
5
+
6
6
7
7
The whole point of devtools is to help you during development, so it's generally not recommended to include them in production builds, but if you know what you're doing, you can.
8
-
8
+
9
9
10
10
## Vite Plugin Configuration
11
11
@@ -39,9 +39,9 @@ Here's an example using environment variables:
@@ -69,4 +69,4 @@ This depends on if you are shedding development dependencies in production or no
69
69
70
70
For Development, you can install the devtools as a development dependency and import them in your application code. The Vite plugin will take care of stripping them out of the production build.
71
71
72
-
For Production, you can install the devtools as a regular dependency and import them in your application code using the `/production` sub-export and then you also need to set `removeDevtoolsOnBuild` to `false` in the Vite plugin configuration.
72
+
For Production, you can install the devtools as a regular dependency and import them in your application code using the `/production` sub-export and then you also need to set `removeDevtoolsOnBuild` to `false` in the Vite plugin configuration.
Copy file name to clipboardExpand all lines: docs/vite-plugin.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ export default {
27
27
}
28
28
```
29
29
30
-
And you're done!
30
+
And you're done!
31
31
32
32
## Configuration
33
33
@@ -61,16 +61,16 @@ export default {
61
61
port: 1234,
62
62
// console log debug logs or not
63
63
debug: false
64
-
},
64
+
},
65
65
}),
66
66
// ... rest of your plugins here
67
67
],
68
68
}
69
-
69
+
70
70
```
71
71
72
72
### editor
73
-
73
+
74
74
> [!IMPORTANT]`editor` is used as an escape hatch to implement your own go-to-source functionality if your system/editor does not work OOTB. We use `launch-editor` under the hood which supports a lot of editors but not all. If your editor is not supported you can implement your own version here. Here is the list of supported editors: https://github.com/yyx990803/launch-editor?tab=readme-ov-file#supported-editors
75
75
76
76
The open in editor configuration which has two fields, `name` and `open`,
0 commit comments