how to use SSG generations can not take build Nextjs
This is simple Nextjs Application can not do SSG generation Error: Page “/store/[slug]/page” cannot use both “use client” and export function “generateStaticParams()”. I am using Nextjs 15 version I used useclient but could not take build what issues Could you please check my code.
How to use next-i18next with next.config.mjs and without _app.js?
I created a Next.js project and having trouble installing next-i18next.
Does Next.js middleware run again after redirect / rewrite?
I have read all I could find on the topic and was still unable to answer the following:
Does Next.js middleware run again after redirect / rewrite?
I have read all I could find on the topic and was still unable to answer the following:
How to set the title and description of routes in the current nextjs?
Basically I’m facing the following error in the latest version of next, when using useEffect it says that I need to define “use client” at the top of the file, so far okay, but when I go to define the Head, it can’t define the title or descriptions, then it recommends using metadata, but when using metadata, it returns the error because it says that it is not possible to use with the use client defined, then it stays in this loop. How to solve this?
How to communicate page properties to the layout in nextjs?
I’m using the app mode in a new nextjs project, and I have the requirement to update the favicon so that it’s different for different pages. I am doing this by having a global object like this:
Images Uploaded to Strapi Are Not Visible in Admin Panel or Frontend
Hello Stack Overflow Community,
Images Uploaded to Strapi Are Not Visible in Admin Panel or Frontend
Hello Stack Overflow Community,
Elevate per-page static data to shared component
Short question: how do I get per-page static data into a component shared across pages?
server component complains about pages dir when in app dir
In my continued efforts to answer this question for myself, I thought I’d give NextJS’s Preloading Data suggestion a try. However, it’s throwing an error: