2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

fix: Remove unused routes and components

This commit is contained in:
Faris Ansari 2019-12-07 00:14:04 +05:30
parent 688083c28d
commit 0b1dbca734

View File

@ -3,21 +3,16 @@ import Router from 'vue-router';
import ListView from '@/pages/ListView/ListView'; import ListView from '@/pages/ListView/ListView';
import Dashboard from '@/pages/Dashboard/Dashboard'; import Dashboard from '@/pages/Dashboard/Dashboard';
import FormView from '@/pages/FormView/FormView';
import PrintView from '@/pages/PrintView/PrintView'; import PrintView from '@/pages/PrintView/PrintView';
import QuickEditForm from '@/pages/QuickEditForm'; import QuickEditForm from '@/pages/QuickEditForm';
import Report from '@/pages/Report.vue'; import Report from '@/pages/Report.vue';
import DataImport from '@/pages/DataImport';
import ReportList from '@/pages/ReportList';
import ChartOfAccounts from '@/pages/ChartOfAccounts'; import ChartOfAccounts from '@/pages/ChartOfAccounts';
import InvoiceForm from '@/pages/InvoiceForm'; import InvoiceForm from '@/pages/InvoiceForm';
import JournalEntryForm from '@/pages/JournalEntryForm'; import JournalEntryForm from '@/pages/JournalEntryForm';
import Tree from 'frappejs/ui/components/Tree';
Vue.use(Router); Vue.use(Router);
@ -68,12 +63,6 @@ const routes = [
edit: route => route.query edit: route => route.query
} }
}, },
{
path: '/edit/:doctype/:name',
name: 'FormView',
component: FormView,
props: true
},
{ {
path: '/print/:doctype/:name', path: '/print/:doctype/:name',
name: 'PrintView', name: 'PrintView',
@ -86,22 +75,6 @@ const routes = [
component: Report, component: Report,
props: true 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', path: '/chartOfAccounts',
name: 'Chart Of Accounts', name: 'Chart Of Accounts',