export default [
{
path: '/',
component: HomePage,
on: {
pageBeforeIn: function (event, page) {
console.log("it's work");
},
pageAfterIn: function (event, page) {
// do something after page gets into the view
},
pageInit: function (event, page) {
// do something when page initialized
},
pageBeforeRemove: function (event, page) {
// do something before page gets removed from DOM
},
}
},
{
path: '(.*)',
component: NotFoundPage,
},
];