Skip to content
On this page

vue/no-multiple-template-root

disallow adding multiple root nodes to the template

  • ⚙️ This rule is included in all of "plugin:vue/essential", "plugin:vue/strongly-recommended" and "plugin:vue/recommended".

📖 Rule Details

This rule checks whether template contains single root element valid for Vue 2.

Now loading...
Now loading...
Now loading...
Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-vue v7.0.0

🔍 Implementation