/* * routes.js * Copyright (C) 2025 veypi * * Distributed under terms of the MIT license. */ const routes = [ { path: '/', component: '/page/index.html', name: 'home', meta: { auth: true } }, { path: '/login', component: '/page/login.html', name: 'login', meta: { auth: false } }, { path: '/profile', component: '/page/profile.html', name: 'profile', meta: { auth: true } }, { path: '/app', component: '/page/app.html', name: 'app', meta: { auth: true } }, { path: '/app/:app_id', children: [ { path: '/', component: '/page/app/index.html', name: 'app_index', meta: { auth: true } }, ] }, { path: '*', component: '/page/404.html', name: '404' }, ] export default routes