<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  methods: {
    search(query, module) {
      if (module === this.$route.name) {
        this.$refs[module].getSearchData(query);
      }
    },
  },
};
</script>
