nuxt-community / nuxtent-module

Seamlessly use content files in your Nuxt.js sites.
https://nuxtent-module.netlify.com/guide
MIT License
389 stars 50 forks source link

Is there any combination of nuxtent & nuxt that actually work for static build? #192

Closed chadananda closed 5 years ago

chadananda commented 5 years ago

I've tried about every combination of versions of Nuxtent and Nuxt and Nuxtdown. They all work perfectly fine in development (with server-generated content) but the moment I try to nuxt generate and deploy, I get a total fail.

Generally the issues are:

  1. No post stubs or JSON content is generated in /dist for the latest builds (including Nuxtdown)

  2. Older versions of nuxt/nuxtent sometimes generate content -- but it does not work properly. Trying to open a generated post results in a 404 because the HTML stub cannot load its Nuxtent-generated JSON data file. It tries to load it the JSON with a wrong pathname, like postname..json. (note the two dots)

ghost commented 5 years ago

This issue as been imported as question since it does not respect nuxtent-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload. If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically. Your question is available at https://cmty.app/nuxt/nuxtent-module/issues/c146.