mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Remove unused routes and components
This commit is contained in:
parent
688083c28d
commit
0b1dbca734
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user