0👍
syntax mistake in firstName, try this:
const app = Vue.createApp({
template: '<h1>Hello {{firstName}} </h1>',
data() {
return {
firstName: 'John',
}
},
})
app.mount('#app')
- [Vuejs]-Set input to empty string or null if it is not filled and save other datas in vue with laravel
- [Vuejs]-Template not rendering nuxt
Source:stackexchange.com