Description
Hey guys, thanks for this amazing project. That fact that it comes with a built-in support for technical documentation is pure gold.
Looking into doco, could not find anything on how to bring custom datasets into VuePress workflow. For example, there is a bunch of YAML/JSON files somewhere in the folder which will later be used to generate some bits of contents or whole pages. There are two scenario here:
- generating content on the page leveraging Vue inside markdown
- generating whole pages dynamically based on incoming data
For example, here is how Middleman handles this. It exposed a global "data" object which can be used within templates.
I saw that this.$site and this.$page provides access to page metadata and front matter, but still not sure how to address custom data files access in the right way.
Could you please provide guidance on this? Updating documentation on how to handle these cases would be awesome as well.