/* Lesli Copyright (c) 2023, Lesli Technologies, S. A. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Lesli · Ruby on Rails SaaS Development Framework. Made with ♥ by https://www.lesli.tech Building a better future, one line of code at a time. @contact hello@lesli.tech @website https://www.lesli.tech @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // · */ // · Import Lesli builders import application from "Lesli/vue/application" import translation from "Lesli/vue/translation" // · Import engine translations import translations from "LesliGuard/vue/stores/translations.json" // · import applicationUserIndex from "LesliGuard/vue/apps/users/index.vue" import applicationUserShow from "LesliGuard/vue/apps/users/show.vue" import appRoleNew from "LesliGuard/vue/apps/roles/new.vue" import appRoleShow from "LesliGuard/vue/apps/roles/show.vue" import appRoleEdit from "LesliGuard/vue/apps/roles/edit.vue" import appRoleIndex from "LesliGuard/vue/apps/roles/index.vue" import appDescriptorIndex from "LesliGuard/vue/apps/descriptors/index.vue" import appDescriptorNew from "LesliGuard/vue/apps/descriptors/new.vue" import appDescriptorShow from "LesliGuard/vue/apps/descriptors/show.vue" // · import appDashboardShow from "Lesli/vue/shared/dashboards/apps/show.vue" import appDashboardEdit from "Lesli/vue/shared/dashboards/apps/edit.vue" // · const dashboardProps = { components: { } } // · Buil Lesli translations translation(translations) // · application("LesliGuard", [{ path: "/", component: appDashboardShow, props: dashboardProps }, { path: "/dashboard", component: appDashboardShow, props: dashboardProps }, { path: "/dashboards/:id/edit", component: appDashboardEdit, props: dashboardProps }, { path: "/users", component: applicationUserIndex }, { path: "/users/:id", component: applicationUserShow }, { path: "/roles", component: appRoleIndex }, { path: "/roles/new", component: appRoleNew }, { path: "/roles/:id", component: appRoleShow }, { path: "/roles/:id/edit", component: appRoleEdit }, { path: "/descriptors", component: appDescriptorIndex }, { path: "/descriptors/new", component: appDescriptorNew }, { path: "/descriptors/:id", component: appDescriptorShow }])