nuxt-community / nuxtent-module

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

Allow injecting frontmatter data in your .md files #156

Closed joostdecock closed 6 years ago

joostdecock commented 6 years ago

The documentation of the configuration options states:

data, Object that specifies that additional data that you would like injected into your content’s component.

That sounds like a great idea, but it doesn't actually seem to be implemented.

This pull request fixes that by:

andrevandal commented 6 years ago

Awesome! Could you add any example in documentation?

joostdecock commented 6 years ago

I'll try to find time for that

joostdecock commented 6 years ago

I'm merging this into a (newly created) dev branch as a sort of go-between solution as I'd like to consolidate these PRs, but feel it's perhaps best to not merge them into master without review by @apmontgomery