Skip to content

Commit

Permalink
Redirects & Alias
Browse files Browse the repository at this point in the history
  • Loading branch information
juanwmedia committed Jun 10, 2020
1 parent 7b8a251 commit 594b65a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import NotFound from "../components/NotFound.vue";
Vue.use(VueRouter);

const routes = [
// {
// path: "/",
// redirect: { name: "Home" }
// },
{ path: "/user", component: AppUserList, alias: "/" },
{
path: "/user",
name: "Home",
Expand Down

0 comments on commit 594b65a

Please sign in to comment.