chore(dev): install and wire react-grab
react-grab lets you point at any DOM element on the page and press Cmd+C to copy the file name, React component, and HTML source — then paste straight into a coding agent (Claude Code, Cursor, etc.) for much higher-fidelity context. Wiring (auto-detected by `npx grab@latest init --force`): a Next <Script> tag in src/app/layout.tsx that loads the bundle from unpkg in development only. Production builds skip the script entirely so no extra weight ships to end users. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -113,6 +113,7 @@
|
||||
"lint-staged": "^15.2.0",
|
||||
"postcss": "^8.4.0",
|
||||
"prettier": "^3.4.0",
|
||||
"react-grab": "^0.1.32",
|
||||
"tailwindcss": "^3.4.0",
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "^5.7.0",
|
||||
|
||||
Reference in New Issue
Block a user