@eyeglass/inspector 0.1.1 → 0.1.2
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 +2 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,19 +15,11 @@ npm install -D @eyeglass/inspector
|
|
|
15
15
|
Import in your app's entry file:
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
+
// src/main.tsx (Vite) or app/layout.tsx (Next.js)
|
|
18
19
|
import '@eyeglass/inspector';
|
|
19
20
|
```
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
// vite.config.ts
|
|
25
|
-
import { eyeglassPlugin } from './eyeglass.plugin';
|
|
26
|
-
|
|
27
|
-
export default defineConfig({
|
|
28
|
-
plugins: [eyeglassPlugin(), react()],
|
|
29
|
-
});
|
|
30
|
-
```
|
|
22
|
+
The inspector auto-initializes when imported and only runs in development mode.
|
|
31
23
|
|
|
32
24
|
## Features
|
|
33
25
|
|