`nuxy generate` breaks if `nuxt.config` has `baseUrl` with a subfolder
Opened this issue · 0 comments
AlbertoFdzM commented
Description
If you define baseUrl
with a subpath like /blog/
and then execute nuxi generate
, it throws the next error:
Error: [404] IPX_FILE_NOT_FOUND
To reproduce:
- Setup a nuxt project with nuxt content and nuxt content assets
- Add some posts with images inside
/content
- Set the
app.baseUrl
property to/blog/
insidenuxt.config.ts
Expected result:
- To successfully build the project
Context
Add context here, such as:
- The problem seems to be with the package cache folder, it doesn't take the
baseUrl
into account. - Here you got a repo with the error https://github.com/AlbertoFdzM/nuxt-blog
Environment info
Run the code below and replace with the output:
nuxt-blog@ /home/albertofdzm/develop/albertofdzm/nuxt-blog
├── @nuxt/content@2.13.2
├── nuxt-content-assets@1.4.4
└── nuxt@3.12.4