Static GitHub Issues

[979] Is it possible to use file-system packages inside nuxtServerInit?

prev: Changing file/folder in static
next: How to send multiple requests in asyncData

I've put my posts folder with markdown-based article files inside static directory.

I would like to list these files inside my post list template without using express/other server-side framework - is it possible?

Adding file-system packages (or similar) causes errors because I think nuxt executes them somehow on client side anyway.

<!--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/c845">#c845</a>)</em></sub></div>