2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/ui/routes/index.js
Faris Ansari 110300005e Replace awesomplete with own component
- Add Tree View
2018-09-26 19:50:35 +05:30

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
}
];