How to add custom scripts in first-child of <head> in the app router Next.js? #75469
Replies: 2 comments
-
Hi AlexanderKositsyn👋 export default function MyApp({ Component, pageProps }) { |
Beta Was this translation helpful? Give feedback.
-
i have the same question, do you have some reslove solution? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want mutate window object. It must be done before any of my nextjs or app scripts run. How to do it? Script component with strategy='beforeInteractive' not working properly, becouse it inject script in middle of head.
Beta Was this translation helpful? Give feedback.
All reactions