brotherton-erpnext/erpnext/public/js/hub/pages/NotFound.vue
Prateeksha Singh d0a952bcda [hub] Register components, init Item Page
- commonly used components are pre-registered
- add DetailHeaderItem component
- begin ItemPage
2018-08-27 10:12:45 +05:30

37 lines
569 B
Vue

<template>
<div
class="marketplace-page"
:data-page-name="page_name"
>
<empty-state
:message="empty_state_message"
:height="500"
:action="action"
>
</empty-state>
</div>
</template>
<script>
export default {
name: 'not-found-page',
data() {
return {
page_name: 'not-found',
action: {
label: __('Back to Home'),
on_click: () => {
frappe.set_route(`marketplace/home`);
}
},
// Constants
empty_state_message: __(`Sorry! I could not find what you were looking for.`)
};
},
}
</script>
<style scoped></style>