I'm currently working with a route instance:
const router = new Router({
routes: [
{
path: '/',
name: 'Home',
component: MainContainer,
redirect: '/news/list',
children: [
{
path: 'advertisement/create',
name: 'Create Advertisement',
title: 'This is title of the page'
component: CreateAdvertisement
}
]
}
]
})
While working on my component, I attempted to access this.$route and found that it only contained the properties name, path, and component, with no title property present. This led me to question: Is it possible to pass a custom property via Vue router? If so, what could be causing my attempt to fail?