davestewart/nuxt-content-assets

`nuxy generate` breaks if `nuxt.config` has `baseUrl` with a subfolder

Opened this issue · 0 comments

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/ inside nuxt.config.ts

Expected result:

  • To successfully build the project

Context

Add context here, such as:

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