You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently testing using Nextra in replacement for a Vuepress project I had and I was wondering if it was possible to use the command next build && next export with Nextra?
I've tried running the command and looking at the exported assets, but I'm getting a bunch of 404 of the static assets (js/css/etc)
I initially had an error about using next/images which I fixed by overriding a config in the next config, but I'm not sure at all that's the proper way of doing things.
info - No "exportPathMap" found in"/next.config.js". Generating map from "./pages"
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. - Configure `images.unoptimized = true` in `next.config.js` to disable the Image Optimization API. Read more: https://nextjs.org/docs/messages/export-image-api
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm currently testing using Nextra in replacement for a Vuepress project I had and I was wondering if it was possible to use the command
next build && next export
with Nextra?I've tried running the command and looking at the exported assets, but I'm getting a bunch of 404 of the static assets (js/css/etc)
I initially had an error about using next/images which I fixed by overriding a config in the next config, but I'm not sure at all that's the proper way of doing things.
Thanks in advance for the help. And also, Nextra looks absolutely fantastic, I'm really eager to make it work!
Beta Was this translation helpful? Give feedback.
All reactions