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

24 lines
446 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';
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: '/print/:doctype/:name',
name: 'PrintView',
component: ListAndPrintView,
props: true
2018-06-27 14:38:27 +00:00
}
];