From 0b1dbca73490505830b01ff2e50410dd4cb5ecbe Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Sat, 7 Dec 2019 00:14:04 +0530 Subject: [PATCH] fix: Remove unused routes and components --- src/router.js | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/router.js b/src/router.js index 00e5c114..46448a6d 100644 --- a/src/router.js +++ b/src/router.js @@ -3,21 +3,16 @@ import Router from 'vue-router'; import ListView from '@/pages/ListView/ListView'; import Dashboard from '@/pages/Dashboard/Dashboard'; -import FormView from '@/pages/FormView/FormView'; import PrintView from '@/pages/PrintView/PrintView'; import QuickEditForm from '@/pages/QuickEditForm'; import Report from '@/pages/Report.vue'; -import DataImport from '@/pages/DataImport'; - -import ReportList from '@/pages/ReportList'; import ChartOfAccounts from '@/pages/ChartOfAccounts'; import InvoiceForm from '@/pages/InvoiceForm'; import JournalEntryForm from '@/pages/JournalEntryForm'; -import Tree from 'frappejs/ui/components/Tree'; Vue.use(Router); @@ -68,12 +63,6 @@ const routes = [ edit: route => route.query } }, - { - path: '/edit/:doctype/:name', - name: 'FormView', - component: FormView, - props: true - }, { path: '/print/:doctype/:name', name: 'PrintView', @@ -86,22 +75,6 @@ const routes = [ component: Report, props: true }, - { - path: '/data-import', - name: 'Data Import', - component: DataImport - }, - { - path: '/reportList', - name: 'Report', - component: ReportList - }, - { - path: '/tree/:doctype', - name: 'Tree', - component: Tree, - props: true - }, { path: '/chartOfAccounts', name: 'Chart Of Accounts',