Skip to content

Commit

Permalink
Add Account Settings path #69
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheri342 authored Apr 22, 2023
1 parent 938d5b6 commit b63544a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import WebsiteLoginPage from "./components/LoginPage/WebsiteLoginPage";
import WebsiteProfileNoSavedOutfit from "./components/SavedOutfits/WebsiteProfileNoSavedOutfit";
import MakeOutfit from "./components/DesktopMyItems/MakeOutfit";
import TempItem from "./components/DesktopMyItems/TempItem";
import AccountSettings from "./components/DesktopAccountSettings/AccountSettings";

import {
websiteUnitsPageData,
Expand All @@ -20,6 +21,7 @@ import {
websiteLocationSettingsData,
websiteHomePageLoggedInData,
websiteProfileNoSavedOutfitData,
accountSettingsData,
} from "./data";

Vue.use(Router);
Expand Down Expand Up @@ -422,6 +424,15 @@ const routes = [
needsAuth: true
},
},
{
name: "AccountSettings",
path: "/accountSettings",
component: AccountSettings,
props: { ...accountSettingsData },
meta: {
needsAuth: true
},
},
{
name: "myItems",
path: "/myItems",
Expand Down Expand Up @@ -539,4 +550,4 @@ router.beforeEach((to, from, next) => {
}
});

export default router;
export default router;

0 comments on commit b63544a

Please sign in to comment.