mirror of
https://github.com/frappe/books.git
synced 2024-12-25 20:11:15 +00:00
110300005e
- Add Tree View
31 lines
577 B
JavaScript
31 lines
577 B
JavaScript
import ListAndForm from '../pages/ListAndForm';
|
|
import ListAndPrintView from '../pages/ListAndPrintView';
|
|
import Tree from '../components/Tree';
|
|
|
|
export default [
|
|
{
|
|
path: '/list/:doctype',
|
|
name: 'List',
|
|
component: ListAndForm,
|
|
props: true
|
|
},
|
|
{
|
|
path: '/edit/:doctype/:name',
|
|
name: 'Form',
|
|
component: ListAndForm,
|
|
props: true
|
|
},
|
|
{
|
|
path: '/tree/:doctype',
|
|
name: 'Tree',
|
|
component: Tree,
|
|
props: true
|
|
},
|
|
{
|
|
path: '/print/:doctype/:name',
|
|
name: 'PrintView',
|
|
component: ListAndPrintView,
|
|
props: true
|
|
}
|
|
];
|