stephenkr / nuxt-feature-toggle

The nuxt feature toggle module

Home Page:https://www.npmjs.com/package/nuxt-feature-toggle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Multiple root nodes" warning in v. 1.2.2

krisimmig opened this issue · comments

Is anybody else getting this warning in version 1.2.2?

[Vue warn]: Multiple root nodes returned from render function. Render function should return a single root node.                                                                 12:18:58

found in

---> <FeatureToggle> at .nuxt/feature-toggle.vue
       <DefaultLayout> at layouts/default.vue
         <Root>

This is not happening in v. 1.2.1

Maybe it has to do with the recent change in the render template/function?

Have you considered that you might be rendering multiple root node which is not valid in Vue 2 ? Maybe a codepen could help