From e9958ce00c7a5d2dac53eff5f1cb6ead6c4b79e7 Mon Sep 17 00:00:00 2001 From: An Phan Date: Tue, 4 Oct 2016 15:08:33 +0800 Subject: [PATCH] Explicitly note on `events` opt deprecation (fixes #436) --- src/guide/migration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/guide/migration.md b/src/guide/migration.md index b11fba8139..eb44fc6c4f 100644 --- a/src/guide/migration.md +++ b/src/guide/migration.md @@ -725,6 +725,10 @@ If you need to stagger list transitions, you can control timing by setting and a ## Events +### `events` option deprecated + +The `events` option has been deprecated. Event handlers should now be registered in the `created` hook instead. Check out the [`$dispatch` and `$broadcast` migration guide](#dispatch-and-broadcast-deprecated) for a detailed example. + ### `Vue.directive('on').keyCodes` deprecated The new, more concise way to configure `keyCodes` is through`Vue.config.keyCodes`. For example: