Can someone explain dynamic routing in next js?
Hi i am currently working on a project where i need to build a logIn page without password, so when user visit my website they can input their mail and if mail exist in any documment in my firestore collection “Kunder” the code will send them a email with unique id that get stored in the “Kunder” collection and with matching email in field called “kundensLANK”
Best way to store unique id’s for one time links
I am currently working on company shop build just for the bigger grocery stores to buy products from us, and i need to add a function for them to logIn without a password
Next JS router.push not working without page reload
I’m using Next.js 14.2 with the page directory. When I create a build and run npm start
, it opens a landing page with a login button using the <Link>
component. I also set prefetch={false}
in the login button. When I redirect to the login screen and enter all the correct values, it shows “login successful,” but it does not redirect to the dashboard. I’m sharing the redirect code below.
Using MDX and rehype-highlight on a next.js website to render an MD containing code causes Object.hasOwn crash
I have pretty standard setup that is closely based on the examples from next.js and next-mdx-remote. Everything works, until I add rehypeHighlight to the rehypePlugins array. Then I get this error, any idea why that would happen? Thanks.
Cannot build NextJS project. I get an error with the generated route.ts file in .next folder
When running the npm run build
command, I get a type error from the generated route.ts file in /.next/types/app/api/auth/[…nextauth]/route.ts. I am using NextJS using JavaScript files (jsx, js) and not TypeScript (tsx, ts).
I can’t import video in nextjs
. └── myProject/ ├── public/ │ ├── images/ │ │ └── … │ └── mp4/ │ └── nature.mp4 └── src/ ├── app/ │ └── … └── components/ ├── … └── MaskText/ ├── index.jsx └── style.module.css How can I import the “nature.mp4” into the MaskText index.jsx file? I attempted to use next-video but always receive “GET […]
I am not being able to access my error response in Nextjs
I have my login method with nodejs and expressjs. How can I show my error response as a message in my nextjs component?
Any better way to resolve Issues storing value from dropdown menu?
I have been trying to figure out why I couldn’t log the value of requestData
to the console successfully. Somehow it’s not storing the value of selectedCategory
in category
as expected. Please help
How to redirect a page without showing content previously?
I am developing an app with nextjs nodejs and express. I made that if a user is not logged in and tries to hit /
it is automatically redirected to /login
.
Understanding the behavior of NextResponse.next() in Next.js middleware
I’m trying to understand the behavior of NextResponse.next()
in Next.js middleware, but I’m having trouble grasping the exact process and the purpose of the generated response
object.