/** * Define all of your application routes here * for more information on routes, see the * official documentation https://router.vuejs.org/en/ */ export default [ { path: '/', name: 'home', view: 'Home/Intro', // meta : { // onlyWhenLoggedOut : true // } }, { path: '/Show/Item/:item', name: 'ShowItem', view: 'Item/ShowItem', meta: {public: true} }, { path: '/Show/UDI/:udi', name: 'ShowItem', view: 'Item/ShowItem', meta: {public: true} }, { path: '/Show/Package/:package', name: 'ShowPackage', view: 'Package/ShowPackage', meta: { public: true } }, { path: '/Show/Label/:label', name: 'ShowLabel', view: 'Label/ShowLabel', meta: { public: true } }, { path: '/Show/Cycle/:cycle', name: 'ShowCycle', view: 'Cycle/ShowCycle', meta: { public: true } }, { path: '/Show/TestResult/:id', name: 'ShowTestResult', view: 'TestResult/ShowTestResult', meta: { public: true } }, ]