0👍
✅
I didn’t mount App.vue
Here is what I’ve changed:
in App.vue
<template>
<div id="app">
<h1>{{ message }}</h1>
</div>
</template>
in main.js
new Vue({
el: '#app',
render: h => h(User)
}).$mount('#app')
0👍
There’s an error in export default {...}
, the fixed version:
export default {
data: () => ({
message: 'Hello World'
})
}
Source:stackexchange.com