I am using the mixins function in the vuejs to code efficiently. And then, I had a question. I have imported mixins 'TTS' in the parent component. And then the child component called the function of the tts. However, the function was not called. Is the parent component mixtns function not available in the child component?
import { tts } from "../components/mixins/tts/tts";
export default {
mixins: [tts]
}
This is importing mixins in the parent component.
<ion-row
class="drawer_middle_menu ion-align-items-center ion-justify-content-center"
@click="trySpeak($t('timeOut'))"
>{{$t('timeOut')}}</ion-row>
And this is a child component. The 'trySpeak' function is a function in TTS that was imported by the parent component.