This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/.cache/babel-loader/efd5105d8d2acdc2b11a2d93ceef8feb.json

1 line
5.8 KiB
JSON
Raw Normal View History

2019-08-11 18:48:02 +00:00
{"remainingRequest":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js!/home/soeren/dev/keksaccountgui/node_modules/eslint-loader/index.js??ref--13-0!/home/soeren/dev/keksaccountgui/src/router/index.js","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/router/index.js","mtime":1563967645853},{"path":"/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":["import Vue from 'vue';\nimport Router from 'vue-router';\nimport Startpage from \"../views/Startpage\";\nimport HelloWorld from \"../components/HelloWorld\";\nimport Login from \"../views/Login\";\nimport Dashboard from \"../views/Dashboard\";\nimport store from \"../store/store\";\nimport OAuthPermission from \"../views/OAuthPermission\";\nimport ListApps from \"../views/ListApps\";\nimport AppDetails from \"../views/AppDetails\";\nimport NewApp from \"../views/NewApp\";\nimport Mail from \"../views/Mail\";\nVue.use(Router);\n\nfunction guard(to, from, next) {\n if (store.state.loggedIn) {\n next(); // allow to enter route\n } else {\n store.state.redirectIfLoggedIn = to;\n next('/login'); // go to '/login';\n }\n}\n\nexport default new Router({\n routes: [{\n path: '/',\n name: 'Startpage',\n component: Startpage\n }, {\n path: '/login',\n name: 'Login',\n component: Login\n }, {\n path: '/oauth',\n name: 'oAuthPermission',\n component: OAuthPermission\n }, {\n beforeEnter: guard,\n path: '/dashboard',\n name: 'Dashboard',\n component: Dashboard\n }, {\n beforeEnter: guard,\n path: '/apps',\n name: 'Apps',\n component: ListApps\n }, {\n beforeEnter: guard,\n path: '/apps/new',\n name: 'newApp',\n component: NewApp\n }, {\n beforeEnter: guard,\n path: '/apps/:id',\n name: 'appDetails',\n component: AppDetails\n }, {\n beforeEnter: guard,\n path: '/user/mails',\n name: 'userMails',\n component: Mail\n }]\n});",{"version":3,"sources":["/home/soeren/dev/keksaccountgui/src/router/index.js"],"names":["Vue","Router","Startpage","HelloWorld","Login","Dashboard","store","OAuthPermission","ListApps","AppDetails","NewApp","Mail","use","guard","to","from","next","state","loggedIn","redirectIfLoggedIn","routes","path","name","component","beforeEnter"],"mappings":"AAAA,OAAOA,GAAP,MAAgB,KAAhB;AACA,OAAOC,MAAP,MAAmB,YAAnB;AACA,OAAOC,SAAP;AACA,OAAOC,UAAP;AACA,OAAOC,KAAP;AACA,OAAOC,SAAP;AACA,OAAOC,KAAP;AACA,OAAOC,eAAP;AACA,OAAOC,QAAP;AACA,OAAOC,UAAP;AACA,OAAOC,MAAP;AACA,OAAOC,IAAP;AAEAX,GAAG,CAACY,GAAJ,CAAQX,MAAR;;AAEA,SAASY,KAAT,CAAeC,EAAf,EAAmBC,IAAnB,EAAyBC,IAAzB,EAA8B;AAC1B,MAAGV,KAAK,CAACW,KAAN,CAAYC,QAAf,EAAyB;AACrBF,IAAAA,IAAI,GADiB,CACb;AACX,GAFD,MAEM;AACFV,IAAAA,KAAK,CAACW,KAAN,CAAYE,kBAAZ,GAAiCL,EAAjC;AACAE,IAAAA,IAAI,CAAC,QAAD,CAAJ,CAFE,CAEc;AACnB;AACJ;;AAED,eAAe,IAAIf,MAAJ,CAAW;AACtBmB,EAAAA,MAAM,EAAE,CACJ;AACIC,IAAAA,IAAI,EAAE,GADV;AAEIC,IAAAA,IAAI,EAAE,WAFV;AAGIC,IAAAA,SAAS,EAAErB;AAHf,GADI,EAMJ;AACImB,IAAAA,IAAI,EAAE,QADV;AAEIC,IAAAA,IAAI,EAAE,OAFV;AAGIC,IAAAA,SAAS,EAAEnB;AAHf,GANI,EAWJ;AACIiB,IAAAA,IAAI,EAAE,QADV;AAEI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