Question #126

Author: admin
tags: Vue  
<template>
  <div>
    <template v-for="i in 2" :key="i">
      {{ text2 }}
    </template>
  </div>
</template>

<script setup>
import { ref, computed } from 'vue';

const text1 = ref('Hello');
const text2 = computed(() => text1.value + ' from Vue! ');
</script>
What text will be displayed in the browser?
Hello from Vue! Hello from Vue!
HelloHello
from Vue! from Vue!
Hello from Vue!
Nothing (empty div)
Nothing. There will be a template error message in the browser console.
Rate the difficulty of the question:
easyhard