Open hb20007 opened 1 year ago
In this link: https://konstaui.com/react/next-js
The following is mentioned:
We need to wrap whole app with App in the pages/_app.js:
App
pages/_app.js
Also, there are other references to the Pages router. There is no mention of the new App router (app/) which is now the recommended one.
app/
+1 - I think in the app router you would do this using the layout file
In this link: https://konstaui.com/react/next-js
The following is mentioned:
Also, there are other references to the Pages router. There is no mention of the new App router (
app/
) which is now the recommended one.