alexjoverm / v-runtime-template

Vue component for compiling templates on the fly using a v-html like API
MIT License
605 stars 70 forks source link

[NUXT] Error: Cannot read property '$metaInfo' of undefined #49

Closed mistGit closed 5 years ago

mistGit commented 5 years ago

I am using latest Nuxt (2.8.1). I have installed v-runtime-template and when I try to use it in my template as a component and pass it the string that should be compiled, I get this error.

### Cannot read property '$metaInfo' of undefined.

I also added 'config.resolve.alias["vue"] = "vue/dist/vue.common";' into the nuxt config but it had no effect.

Any ideas about what might be causing this error and how to fix it?

Node version: 10.15.3

alexjoverm commented 5 years ago

Fixed on 1.7.1 6289c88c6812df2037f3e138e35fad75c4fd71cc