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
**AI-powered visual debugging for React, Vue, Svelte, Preact & Next.js via MCP and ACP.**
10
+
**AI-powered visual debugging for React, Vue, Svelte, SolidJS, Preact & Next.js via MCP and ACP.**
22
11
23
12
DevInspector connects your web app directly to your AI agent. Click any element to instantly send its source code, style, and network context to the AI for analysis and fixing.
24
13
@@ -29,6 +18,7 @@ Works with any MCP-compatible AI client. Supports ACP agents: **Claude Code**, *
npx @mcpc-tech/unplugin-dev-inspector-mcp setup --bundler vite
106
+
```
107
+
108
+
This will:
109
+
- Detect your bundler configuration
110
+
- Add the necessary import
111
+
- Add the plugin to your configuration
112
+
- Create a backup of your config file
113
+
114
+
### Manual Configuration
115
+
116
+
If you prefer to configure it manually:
117
+
91
118
### Vite
92
119
93
120
```diff
94
121
// vite.config.ts
95
122
+import DevInspector from '@mcpc-tech/unplugin-dev-inspector-mcp';
96
-
import react from '@vitejs/plugin-react'; // or vue(), svelte(), preact()
123
+
import react from '@vitejs/plugin-react'; // or vue(), svelte(), solid(), preact()
97
124
98
125
export default {
99
126
plugins: [
@@ -102,12 +129,12 @@ Add DevInspector to your project:
102
129
showInspectorBar: true, // Default: true. Set to false to hide the UI.
103
130
+ autoOpenBrowser: false, // Default: false. Automatically open browser when server starts.
104
131
}),
105
-
react(), // or vue(), svelte(), preact()
132
+
react(), // or vue(), svelte(), solid(), preact()
106
133
],
107
134
};
108
135
```
109
136
110
-
> ⚠️ **Plugin order matters:** Place `DevInspector.vite()`**before**`react()`, `vue()`, `svelte()`, or `preact()`. Otherwise source locations may show `unknown:0:0`.
137
+
> ⚠️ **Plugin order matters:** Place `DevInspector.vite()`**before**`react()`, `vue()`, `svelte()`, `solid()`, or `preact()`. Otherwise source locations may show `unknown:0:0`.
111
138
112
139
#### For Non-HTML Projects (Miniapps, Library Bundles)
113
140
@@ -201,6 +228,22 @@ export default function RootLayout({ children }) {
201
228
202
229
> 💡 **Note:** Webpack and Next.js use a standalone server on port 8888. Run `next dev --webpack` for Webpack mode (Next.js 16+ defaults to Turbopack).
203
230
231
+
## Framework Support
232
+
233
+
### ✅ Fully Supported
234
+
235
+
-**React** - `.jsx` and `.tsx` files (Vite, Webpack, Next.js)
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.0.2.
4
+
5
+
## Development server
6
+
7
+
To start a local development server, run:
8
+
9
+
```bash
10
+
ng serve
11
+
```
12
+
13
+
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
14
+
15
+
## Code scaffolding
16
+
17
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18
+
19
+
```bash
20
+
ng generate component component-name
21
+
```
22
+
23
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24
+
25
+
```bash
26
+
ng generate --help
27
+
```
28
+
29
+
## Building
30
+
31
+
To build the project run:
32
+
33
+
```bash
34
+
ng build
35
+
```
36
+
37
+
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
38
+
39
+
## Running unit tests
40
+
41
+
To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
42
+
43
+
```bash
44
+
ng test
45
+
```
46
+
47
+
## Running end-to-end tests
48
+
49
+
For end-to-end (e2e) testing, run:
50
+
51
+
```bash
52
+
ng e2e
53
+
```
54
+
55
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
56
+
57
+
## Additional Resources
58
+
59
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
0 commit comments