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