Here is the Child Componen´s function
signUp() {
  if (this.$refs.form.validate()) {
    this.$emit('loadcard', true); //firing
    this.$fireAuth
      .createUserWithEmailAndPassword(this.mail, this.pw)
      .then(() => {
        this.$toast('Registered successfully'); // firing
        this.$emit('loadcard', false); // Not firing
        this.$emit('closemodal'); // Not firing
      })
      .catch(error => {
        const errorCode = error.code;
        let msg = '';
        if (errorCode === 'auth/weak-password') {
          msg = 'The password is too weak.';
        } else if (errorCode === 'auth/email-already-in-use') {
          msg = 'The email is already in use.';
        } else msg = error.message;
        this.$toast(msg, {
          color: 'red',
          dismissable: true,
          x: 'center',
          y: 'top'
        });
        this.$emit('loadcard', false); // Not firing
      });
  }
}
The emits I commented do not fire even if the point in code is reached. Here is the parent components declaration:
<sign-up
   @closemodal="dialog = false"
   @loadcard="switchLoading"
>
</sign-up>
 
     
     
    