for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import { isFunction } from './utils'
const pageTitleMixin = {
created () {
const { title } = this.$options
if (title !== undefined) {
// allow use dinamic title system
this.$title = isFunction(title)
? title.call(this, this)
: title
}
export default pageTitleMixin