How to generate html dynamically from Vuejs?

Asked

Viewed 18 times

-2

Would you like to know if Vuejs generates HTML dynamically from a certain result? For example result of a v-if: aquivo: index.Vue

<template>
  ....
</template>

<script>
export default {
  data(){
    return{
      html:"<h1 v-if'1 === 2'>TesteNaoMostrar</h1>"
    }
  }
}
</script>
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.