JS.VUE.NO.V.TEXT

Emforve reports all uses of `v-text` directive

Rule Details

This rule reports all uses of v-text directive.

{'vue/no-v-text': ['error']}

Copy
<template>
  <!-- GOOD -->
  <div>{{ foobar }}</div>

  <!-- BAD -->
  <div v-text="foobar"></div>
</template>

Options

Nothing.

The content on this page is adapted from the ESLint User Guide. Copyright © OpenJS Foundation and other contributors, www.openjsf.org. All rights reserved. https://eslint.org/docs/rules/