I have trying to make use of the method called nuxt.renderRoute
which indeed calls renderToString
which throws an error saying TypeError: self.renderToString is not a function
.
All I have able to debug is
1.renderToString
is a function on vue-server-renderer https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer
Nuxt
class and Nuxt
class does not have renderToString
method.May be I am missing something?
<!--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/c37">#c37</a>)</em></sub></div>