import UserProfile from "./../views/user/UserProfile.vue";
import UserIndex from "./../views/user/UserIndex.vue";
import UserCreate from "@/views/user/UserCreate.vue";
export const userRoutes = [
  {
    path: "/user",
    children: [
      {
        path: "",
        name: "index",
        component: UserIndex,
      },
      {
        path: "/user/create",
        name: "create",
        component: UserCreate,
      },
      {
        path: "/user/:id/edit",
        name: "edit",
        component: UserIndex,
      },
      {
        path: "/user/profile",
        name: "profile",
        component: UserProfile,
      },
    ],
  },
];
