TestAll.install = (Vue, options) => Vue.prototype.$testAll = () => @test() if !_.isUndefined @test _.forEach @$children, (child) => child.testAll() Vue.use(TestAll)