Files
cssd-back/resources/js/show/router/paths.js
T
2025-04-09 09:52:44 +03:30

47 lines
1.0 KiB
JavaScript
Vendored

/**
* 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/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 }
},
]