Static GitHub Issues

[747] Add data and/or content folder for static generated part of application

prev: Generating pages without client side js added
next: HTML minify slow in generate

I plan on using nuxt generate to create static sites and blogs. Other alternates, obviously, are Jekyll, Hexo, Hugo, etc.

Currently, like the mentioned alternatives, nuxt provides:

  • layouts or templates
  • components or partials
  • dynamic urls or routing
  • assets (css, images, etc.)

However, the main features it does not provide:

  • Data files for reusable information that can be used inside pre-compiled files (this can be done inside HTML templates locally with the data component property, but there is no global data configurations that can be used inside markdown files before they are compiled as vue components)

  • Front-matter/metadata that facilitates content organization (e.g. by date, title, category etc.)

Before I go off and try to incorporate these features on my own, my question is: would it make any sense to incorporate these features into Nuxt?

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