2
0
mirror of https://github.com/frappe/books.git synced 2024-12-26 12:28:12 +00:00
books/ui/routes/index.js

31 lines
577 B
JavaScript
Raw Normal View History

2018-06-27 14:38:27 +00:00
import ListAndForm from '../pages/ListAndForm';
2018-07-13 05:16:15 +00:00
import ListAndPrintView from '../pages/ListAndPrintView';
import Tree from '../components/Tree';
2018-06-27 14:38:27 +00:00
export default [
{
path: '/list/:doctype',
name: 'List',
component: ListAndForm,
props: true
},
{
path: '/edit/:doctype/:name',
name: 'Form',
component: ListAndForm,
props: true
2018-07-13 05:16:15 +00:00
},
{
path: '/tree/:doctype',
name: 'Tree',
component: Tree,
props: true
},
2018-07-13 05:16:15 +00:00
{
path: '/print/:doctype/:name',
name: 'PrintView',
component: ListAndPrintView,
props: true
2018-06-27 14:38:27 +00:00
}
];