saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.69k stars 215 forks source link

Thank you for your response, but it doesn't address my issue. It's because I'm using the built-in Image component from 'next/image', not the native 'img' tag. #372

Closed Yukixieyuya821 closed 1 year ago

Yukixieyuya821 commented 1 year ago
          Thank you for your response, but it doesn't address my issue. It's because I'm using the built-in Image component from 'next/image', not the native 'img' tag.

Originally posted by @Yukixieyuya821 in https://github.com/saltyshiomix/nextron/issues/370#issuecomment-1565144545

Yukixieyuya821 commented 1 year ago

I found a solution. The reason is that "next export" does not support "_next/image" after exporting, and it requires the Next.js server for successful parsing. To solve this in the app, you need to change the URL of the "img" to your own Next.js server address.

alexis-piquet commented 1 year ago

Exactly, don't hesitate de next time where you encounter an issue to explain with the full context to it be resolved fast. Could you share how you do it in the discussion section.

Yukixieyuya821 commented 1 year ago

Of course, it's possible.