Nuxt.js: Add data and/or content folder for static generated part of application

Created on 20 May 2017  路  2Comments  路  Source: nuxt/nuxt.js

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?

This question is available on Nuxt.js community (#c644)
available soon question

Most helpful comment

Hi,
Nuxt-Modules will be available in the next release and will give you the opportunity to add such functionality to Nuxt.

All 2 comments

Hi,
Nuxt-Modules will be available in the next release and will give you the opportunity to add such functionality to Nuxt.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pehbehbeh picture pehbehbeh  路  3Comments

vadimsg picture vadimsg  路  3Comments

mikekidder picture mikekidder  路  3Comments

bimohxh picture bimohxh  路  3Comments

surmon-china picture surmon-china  路  3Comments