File tree Expand file tree Collapse file tree 3 files changed +3890
-3120
lines changed Expand file tree Collapse file tree 3 files changed +3890
-3120
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ And voilà! You're ready to go.
5959
6060## Framework-specific Installation
6161
62- ### Next.js (Pages Router)
62+ <details >
63+ <summary >### Next.js (Pages Router)</summary >
6364
6465Add the script tag to your ` pages/_document.tsx ` :
6566
@@ -83,7 +84,10 @@ export default function Document() {
8384}
8485```
8586
86- ### Next.js (App Router)
87+ </details >
88+
89+ <details >
90+ <summary >### Next.js (App Router)</summary >
8791
8892Add the script tag to your ` app/layout.tsx ` :
8993
@@ -105,7 +109,10 @@ export default function RootLayout({
105109}
106110```
107111
108- ### Vite / Create React App / Remix
112+ </details >
113+
114+ <details >
115+ <summary >### Vite / Create React App / Remix</summary >
109116
110117Add the script tag to your ` index.html ` :
111118
@@ -123,6 +130,8 @@ Add the script tag to your `index.html`:
123130</html >
124131```
125132
133+ </details >
134+
126135## Why React Scan?
127136
128137React can be tricky to optimize.
You can’t perform that action at this time.
0 commit comments