JS.VUE.NO.DEPRECATED.FUNCTIONAL.TEMPLATE
Disallow using deprecated the 'functional' template (in Vue.js 3.0.0+)
Rule Details
This rule reports deprecated the functional
template (in Vue.js 3.0.0+).
See Migration Guide - Functional Components (https://v3-migration.vuejs.org/breaking-changes/functional-components.html) for more details.
{'vue/no-deprecated-functional-template': ['error']}
Copy
<!-- BAD -->
<template functional>
<!-- ... -->
</template>
Options
Nothing.
Further Reading
- Migration Guide - Functional Components (https://v3-migration.vuejs.org/breaking-changes/functional-components.html)
- Vue RFCs - 0007-functional-async-api-change (https://github.com/vuejs/rfcs/blob/master/active-rfcs/0007-functional-async-api-change.md)
- Guide - Functional Components (https://v2.vuejs.org/v2/guide/render-function.html#Functional-Components)