Discussion on Rokstar - React Portfolio template using Nextjs

Discussion on Rokstar - React Portfolio template using Nextjs

Cart 65 sales
Well Documented

Divergent_Studio supports this item

Supported

This author's response time can be up to 1 business day.

2 comments found.

I need static export and there is no setup for it. I tried multiple image optimizers and even if export goes through images dont show up on built page. How should i make this work?

Sorry for the inconvenience. For static build please follow the this article https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

i tried all the workarounds, went through this. Next build doesnt build static html app for the ftp server. I need next export to get this and without image exporter i get this error

Error: Image Optimization using Next.js’ default loader is not compatible with `next export`. Possible solutions: – Use `next start` to run a server, which includes the Image Optimization API. – Use any provider which supports Image Optimization (like Vercel). – Configure a third-party loader in `next.config.js`. – Use the `loader` prop for `next/image`.

I tried all of these, i get it to export with this config

module.exports = { reactStrictMode: true, images: { loader: ‘cloudinary’, path: ’’, }, }

but image paths arent workin on the server.

Your need to disable Image Optimisation.

module.exports = { images: { unoptimized: true } }

Great Work,Congratulations GLWS :)

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey