Catching Vue-router like emit component

hi. I have component for create ObjectA and after creation “entity” call emit and catch in Home.vue

// Home.vue:
<h1>Home</h1>
<CreaterA @created='homefunction'></CreaterA>

function homefunction(objA){
     console.log(objA)
}

Question: how can I do the same thing, but use vue-rouuter?
Now in Home page i have link to page component CreaterA, but how i can handle event ‘created’ in homepage ?

// Home.vue:
<h1>Home</h1>
<a @click="$router.push({ name: CreaterA })"

function homefunction(objA){
 console.log(objA)
}

Hi @shenkonor
I used EventBus to solve this problem,
you need to create a new vue instance js file in src directory, create emit in the component and use that emit in any component in created hook.
I have created about us page and using router link in app.vue to redirect to about page. On click in about page created an event using EventBus and used the emit in app.vue in created.

event-bus.js

import Vue from "vue";
export const EventBus = new Vue();

App.vue

<template>
  <div id="app">
    <p>{{ test }}</p>
    <div class="links">
      <router-link to="/about">About</router-link>
      <router-link to="/">Home</router-link><br />
    </div>
    <router-view />
  </div>
</template>

<script>
import { EventBus } from "@/event-bus.js";
export default {
  name: "App",
  data() {
    return {
      test: false,
    };
  },
  created() {
    EventBus.$on("testemit", () => {
      this.test = !this.test;
    });
  },
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  margin: 2em;
}

.links {
  margin: 12px 12px;
}

a {
  margin: 12px 12px;
}
</style>

About.vue

<template>
  <div>
    <h1>About page</h1>
    <button @click="testEmit">click to change variable in App.vue</button>
  </div>
</template>

<script>
import { EventBus } from "@/event-bus.js";
export default {
  name: "About",
  methods: {
    testEmit() {
      console.log("in about");
      EventBus.$emit("testemit");
    },
  },
};
</script>

<style>
</style>

This is the src code for reference : Vue router (forked) - CodeSandbox
I hope this helps.