[Vuejs]-How to pass text with <b> tag having bold effect in <v-textarea> from the data() of vue app?

0👍

just move <b> from data value direct to the template

<template>
      <div>
        <v-textarea style="font-weight:bold" v-model="value"></v-textarea>
        <p><b>{{value}}</b></p>
      </div>
    </template>
  </div>
</template>
<script>
export default {
  data() {
    return {
      value: "This is the value",
    };
  },
};
</script>

and then configure textarea with css to be bold

Leave a comment