<template>
  <div></div>
</template>

<script>
  module.exports = {
    name: 'redirect-page',
    props: {
      src: String
    },
    mounted: function() {
      this.$router.push(this._props.src).catch(() => {});
    }
  };
</script>

<template>
  <div></div>
</template>

<script>
  module.exports = {
    name: 'redirect-page',
    props: {
      src: String
    },
    mounted: function() {
      this.$router.replace(this._props.src).catch(() => {});
    }
  };
</script>

Replace Not Push History on Redirect Component
Replace Not Push History on Redirect Component
