3👍
The issue is from you using single quotes to declare your template.
template: '...'
I would suggest using the template literals and you don’t need to include backslashes for end lines and such.
template: `...`
The other option you have is escaping the following single quote
template: '\'somestring\''
- [Vuejs]-Showing initial v-model value on selectbox
- [Vuejs]-Additional nested <router-view /> does not render view from child route
0👍
if you are using single quotes anywhere, you cant use single quotes again inside there.
use template literals or care about single-double quotes.
- [Vuejs]-Vue3 Reactivity in script setup for translation
- [Vuejs]-How to passing html tag component (v-btn, etc) to reusable component props
Source:stackexchange.com