diff --git a/src/effects/EffectPass.js b/src/effects/EffectPass.js index a93d5a1..82a4ced 100644 --- a/src/effects/EffectPass.js +++ b/src/effects/EffectPass.js @@ -1,6 +1,6 @@ export default { inject: ['three', 'passes'], - events: ['ready'], + emits: ['ready'], beforeMount() { if (!this.passes) { console.error('Missing parent EffectComposer'); @@ -14,7 +14,7 @@ export default { this.passes.push(pass); this.pass = pass; this.$emit('ready', pass); - } + }, }, render() { return [];