2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 04:06:04 +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
}
];