App.vue 615 Bytes
<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'report-app',
  props: {
    msg: String,
    message: String
  },
  data() {
    return {
      myMsg: '',
      gs: ''
    }
  },
  created() {
    this.myMsg = this.msg
    this.myMessage = this.message
  }
}
</script> 

<style lang="scss">
.parent-child-communication {
  padding: 20px 0;
  line-height: 36px;
}
#app {
  background: #F4F5FA;
  padding: 0px 20px 20px 20px;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  top: 0px;
  left: 0px;
  overflow-y: auto;
  height: 100%;
}
</style>