diff --git a/src/router.js b/src/router.js index fa2492a..e36cfa5 100644 --- a/src/router.js +++ b/src/router.js @@ -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, @@ -20,6 +21,7 @@ import { websiteLocationSettingsData, websiteHomePageLoggedInData, websiteProfileNoSavedOutfitData, + accountSettingsData, } from "./data"; Vue.use(Router); @@ -422,6 +424,15 @@ const routes = [ needsAuth: true }, }, + { + name: "AccountSettings", + path: "/accountSettings", + component: AccountSettings, + props: { ...accountSettingsData }, + meta: { + needsAuth: true + }, + }, { name: "myItems", path: "/myItems", @@ -539,4 +550,4 @@ router.beforeEach((to, from, next) => { } }); -export default router; \ No newline at end of file +export default router;