mantine icon indicating copy to clipboard operation
mantine copied to clipboard

Don't modify head tag in next app router example

Open moritzreiter opened this issue 1 year ago • 0 comments

The Next docs for app router say that the <head> tag shouldn't be modified manually.

One repercussion of ignoring this advice is that Cypress e2e tests don't work anymore when testing an app router based Next app where the <head> tag was modified manually.

So I think the Mantine docs shouldn't propose doing this.

As far as I can tell, the <ColorSchemeScript /> works fine when put in the <body>.

moritzreiter avatar Nov 06 '23 12:11 moritzreiter