python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Nextjs: Why are images from the public folder not loading?
From the public folder in the root of my project there is an image: download.png. In my js file, I call it like so: <img src={"/download.png"} />. However, the image doesn't load as il...
InquisitiveTom
Votes: 0
Answers: 1
How to pass props in getStaticProps to a component in Next.js
Overview
I am trying to pass on object of data that contains strings and objects to my component
The Problem
When I check the Next.js documentation to pass props, I try to send it in the key value pai...

Tyler Morales
Votes: 0
Answers: 0
Multiple SVG Components not working or render as expected
I'm having a strange problem; and haven't been able to get a solution for it.
Context:
NextJS App. I have 5 different svgs, and created some Icon components with them:
import React from 'react';
impor...
Klaha
Votes: 0
Answers: 1
How to keep nextjs index files inside their respective folders with next export
I have a folder structure for NextJs
pages
├── blog
│ ├── index.jsx
│ ├── other.jsx
│ └── [slug].jsx
└── index.js
On npx next build && npx next export I get
├── 404.html
├── blog
│ ├─...

sampath.xyz
Votes: 0
Answers: 2