This commit is contained in:
2019-05-24 20:24:35 +00:00
parent 9fe11125fa
commit b1640e0baa
11 changed files with 405 additions and 18 deletions

View File

@@ -1,7 +1,11 @@
import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
//import { isLoggedIn, login, logout } from "./utils/auth";
import service from "./views/service.vue";
import dispatch from "./views/dispatch.vue";
import accounting from "./views/accounting.vue";
import administration from "./views/administration.vue";
import operations from "./views/operations.vue";
Vue.use(Router);
@@ -41,6 +45,31 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/inventory.vue")
},
{
path: "/service",
name: "service",
component: service
},
{
path: "/dispatch",
name: "dispatch",
component: dispatch
},
{
path: "/accounting",
name: "accounting",
component: accounting
},
{
path: "/admin",
name: "administration",
component: administration
},
{
path: "/ops",
name: "operations",
component: operations
},
{
path: "/inventory/widget/edit/:id",
name: "inventory-widget-edit",