Static GitHub Issues

[446] Middleware ignored during static generation?

prev: How to link img src to a rendered list
next: After upgraded to 0.10.1 i started to get Cannot read property 'state' of undefined error

I currently have a middleware parsing .md files for the respective route being accessed. This works well in dev mode, however when I run the generate command the pages do not contain the parsed .md data (component data is still there).

Is this intended? If so, is it possible to run middleware during static generation?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c387">#c387</a>)</em></sub></div>