I'm facing a challenge in dynamically switching html content. I tried using vue-loader src to import, but v-bind:src doesn't seem to have any effect.
<template src="./app.html"></template>
It seems to be working fine here.
<template :src="getDOM(true)"></template>
getDOM(a){
if(a){
return './app.html'
} else {
return './app2.html'
}
}
This part is not working as expected.
So, I'm wondering what steps I should take to make this work?