text: import Vue from "vue";
  import Router from "vue-router";
  import Search from "./components/Search.vue";
  import Display from "./components/Display.vue";
  
  Vue.use(Router);
  
  export default new Router({
    mode: "history",
    routes: [
      {
        path: "/",
        name: "search",
        component: Search,
      },
      {
        path: "/profile/:platform/:gamertag",
        name: "display",
        component: Display,
      },
    ],
  });
  