Just a quick question here.
I have an object with the following value:
data() {
return {
nation: {
CZ: require("../../../../../svg/czech-flag.svg"),
}
};
},
Then I have an API object (FYI, the API is working fine)
doctor: {
region: "CZ"
}
I want to do something like this (even though it won't work):
<div v-html="nation.doctor.region"></div>
I had a method for this which worked, but I believe there might be an easier way. Thank you for any help.