As someone new to Vue, I have defined my Vue code in the following way:
import Vue from "vue";
export default Vue.extend({
data: () => {
message: "show message";
},
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<template>
<div id="app">
<div v-text="message"></div>
</div>
</template>
After implementing the above code, I noticed that the UI did not display the Vue data message
. To further investigate, I created a sandbox version of the code: https://codesandbox.io/s/loving-sea-snvfj?file=/src/App.vue:149-237