1. src - router - index.js

import Vue from 'vue';
import Router from 'vue-router';
import Home from "@/pages/Home";
import PageNoFound from '@/pages/PageNoFound'

Vue.use(Router);

export default new Router({
  mode: 'history',
  routes: [
    { path: '/', component: Home},
    { path: "*", component: PageNoFound}
  ]
});

2. NavBar로 화면이동 제어하기

<template>
  <v-app-bar app flat color="white">
    <v-tabs centered color="grey darken-1">
      <v-tab to="/">home</v-tab>
      <v-tab to="/login">로그인</v-tab>
    </v-tabs>
  </v-app-bar>
</template>

<script>
export default {};
</script>

3. $router, $route

<script>
export default {
	data: () => ({
    text: "",
  }),
	methods: {
    move() {
			// this.$router.push("home");
			// this.$router.push({ path: "home", params: { id: this.text } });
      this.$router.push({ path: "home", query: { text: this.text } });
    },
  },
};
</script>
<script>
export default {
  data: () => ({
    text: ""
  }),
  created() {
    const { text } = this.$route.query;
    if (text) {
      this.text = data;
    }
  },
};
</script>