File tree Expand file tree Collapse file tree 3 files changed +375
-11
lines changed
Expand file tree Collapse file tree 3 files changed +375
-11
lines changed Original file line number Diff line number Diff line change 196196 "devDependencies" : {
197197 "@eslint/eslintrc" : " ^3" ,
198198 "@react-email/preview-server" : " 5.2.8" ,
199+ "@react-grab/mcp" : " ^0.1.23" ,
199200 "@tanstack/eslint-plugin-query" : " ^5.74.7" ,
200201 "@testing-library/dom" : " ^10.4.1" ,
201202 "@testing-library/react" : " ^16.3.0" ,
216217 "npm-run-all" : " ^4.1.5" ,
217218 "postcss" : " ^8" ,
218219 "react-email" : " ^5.1.0" ,
220+ "react-grab" : " ^0.1.23" ,
219221 "tailwindcss" : " ^3.4.1" ,
220222 "tsx" : " ^4.19.2" ,
221223 "typescript" : " ^5" ,
Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
2+ import Script from "next/script" ;
23import "./globals.css" ;
34import { ThemeProvider } from "next-themes" ;
45import { QueryClientProvider } from "./queryClientProvider" ;
@@ -34,6 +35,21 @@ export default function RootLayout({
3435 // @see : https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app
3536 suppressHydrationWarning
3637 >
38+ < head >
39+ { process . env . NODE_ENV === "development" && (
40+ < Script
41+ src = "//unpkg.com/react-grab/dist/index.global.js"
42+ crossOrigin = "anonymous"
43+ strategy = "beforeInteractive"
44+ />
45+ ) }
46+ { process . env . NODE_ENV === "development" && (
47+ < Script
48+ src = "//unpkg.com/@react-grab/mcp/dist/client.global.js"
49+ strategy = "lazyOnload"
50+ />
51+ ) }
52+ </ head >
3753 < body >
3854 < Toaster />
3955 < SessionProvider >
You can’t perform that action at this time.
0 commit comments