Images/links not working after exporting to static html
Unanswered
Stony gall posted this in #help-forum
Stony gallOP
I have a problem where if i export then my site have no style in the static html. Im using tailwind css. I have tried everything to make it work but it just not happening.
3 Replies
Stony gallOP
Since then i fugured out that i had some issues with my next.js config and the css file in my index what linked wrong. So i guess this issue is fixed.
Stony gallOP
I have a new problem, images and href links not working after i export to static html.
i noticed that the images paths are wrong, when i change them to for example ./public/file.png it works. I don't know how to set it up to change them automaticaly
I noticed that the href links not using a "target" after i add target="_blank" for example, they work. But I don't know how to set it up to change them automaticaly.
i noticed that the images paths are wrong, when i change them to for example ./public/file.png it works. I don't know how to set it up to change them automaticaly
I noticed that the href links not using a "target" after i add target="_blank" for example, they work. But I don't know how to set it up to change them automaticaly.