This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user