#Can't change title of page "use client" Next.js appDir

3 messages · Page 1 of 1 (latest)

viscid ridge
#

Hello

I have an app which was using head.js for setting SEO params like title and meta-data but after updating it seems like head.js is not working anymore.

I have tried using following suggested metadata in page.ts/layout.js

  title:
    "My Website Title",
};```

but it throws an error as all of my pages and layouts have "use client".

I would appreciate any help or suggestions on how to resolve it.

Thank you in advance!
minor obsidian
#

I am a beginner but nextjs version 13.2.4 works for me, newer versions I was facing same

ancient crow