Relative Content

Tag Archive for javascriptnext.js

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”

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.

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 […]