Static GitHub Issues

[941] Where to the pass render function for Vue instance?

prev: Nuxt Generate and AWS S3
next: Web application is breaking in functionality due to routing issues in Nuxt Static Generate.

I’m trying to get a static site to generate from a set of markdown docs like https://github.com/ElemeFE. I have included vue-markdown-loader as part of my package.

I have set up components in the global scope through a global.js plugin. I am not sure where/how to define the render function for the Vue instance so that all Vue components coded inside the Markdown files can be rendered like so: https://github.com/ElemeFE/element/blob/dev/examples/entry.js#L40

Button example: https://github.com/ElemeFE/element/blob/dev/examples/docs/en-US/button.md

And site: http://element.eleme.io/#/en-US/component/button

Thanks!

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