dev-tooltip 1.1.1 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Built for **Vite + React** projects to show tooltips in development and automati
|
|
|
9
9
|
|
|
10
10
|
- Show tooltips in dev mode on any element with `debug_*` attributes
|
|
11
11
|
- Automatically stripped from production builds
|
|
12
|
-
- Works with React JSX
|
|
12
|
+
- Works with React JSX
|
|
13
13
|
- Simple one-line plugin import
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -69,7 +69,7 @@ export default App;
|
|
|
69
69
|
In dev mode, hovering over the element will show the tooltip.
|
|
70
70
|
|
|
71
71
|
In production build (npm run build), debug_title will be removed automatically.
|
|
72
|
-
|
|
72
|
+
<!--
|
|
73
73
|
Options
|
|
74
74
|
|
|
75
75
|
devTooltip({ prefix }) — optional config:
|
|
@@ -92,7 +92,9 @@ You can use multiple debug attributes on a single element:
|
|
|
92
92
|
|
|
93
93
|
All attributes with the given prefix are stripped automatically in production.
|
|
94
94
|
|
|
95
|
-
Works out-of-the-box for multiple projects — just install and add devTooltip() in vite.config.js.
|
|
95
|
+
Works out-of-the-box for multiple projects — just install and add devTooltip() in vite.config.js. -->
|
|
96
|
+
|
|
97
|
+
---
|
|
96
98
|
|
|
97
99
|
License
|
|
98
100
|
|