About 7,890,000 results
Open links in new tab
  1. How to deploy a Next.js app on HTTPS (SSL connection) with …

    Oct 25, 2022 · The following steps explain how to set up a multi-container Docker Compose environment where NGINX is used as a reverse proxy in front of the Next.js application to …

  2. Why is my NextJS component rendering twice? - Stack Overflow

    Why is my NextJS component rendering twice? Asked 3 years, 6 months ago Modified 8 months ago Viewed 67k times

  3. NextJs - How to redirect to a new URL with 301 status code?

    Aug 29, 2022 · NextJs - How to redirect to a new URL with 301 status code? Asked 3 years, 2 months ago Modified 1 year, 7 months ago Viewed 11k times

  4. running a Development server on NextJS (on the network)

    Jul 5, 2021 · Recently I started learning NextJS and when I run the command npm run dev, I only see that it starts the development server on the local machine, not on the network. Is there a …

  5. How to use different .env files with nextjs? - Stack Overflow

    Dec 24, 2019 · I would like to have different configuration files for the environment variables and be able to use them in my next project. I saw the example with dotenv. But I don't like to define …

  6. How to get query params using Server component (next 13)

    Dec 22, 2022 · Next13 is out, and they advise to use the new app directory where every component is by default a "Server Component" Inside a "server …

  7. javascript - How to Set port in next.js - Stack Overflow

    One application is running on port 3000 and I want to run another application on a different port from the default port, which is 3000. How do I change this in React Next.js? My package.json …

  8. javascript - Tailwindcss not working with next.js; what is wrong …

    Sep 23, 2020 · In Pages Router Tailwindcss was asking to add this directive in tailwind.config.js when working on a NextJs project: important: "#__next" because the root node from the Nextjs …

  9. html - Next.js Redirect from / to another page - Stack Overflow

    Oct 1, 2019 · I'm new in Next.js and I'm wondering how to redirect from the start page ( / ) to /hello-nextjs for example. Once the user loads a page, determine if path === / and redirect to …

  10. Next 13.4 Error: NEXT_REDIRECT in API routes - Stack Overflow

    May 6, 2023 · 9 The redirect() is never supposed to be used in try/catch blocks. Here is a screenshot from the official docs: screenshot of nextjs documentation about redirect ()