From 0899c228b3d730a0a56e41c98f56d6712470b0b5 Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Fri, 12 Feb 2021 14:49:30 +0000 Subject: [PATCH] docs: add a migration entry for renaming `hook:` to `vnode-` --- src/.vuepress/config.js | 1 + src/guide/migration/introduction.md | 1 + src/guide/migration/vnode-lifecycle-events.md | 48 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 src/guide/migration/vnode-lifecycle-events.md diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 6ed9cc426a..1cf2e3befd 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -203,6 +203,7 @@ const sidebar = { '/guide/migration/v-model', '/guide/migration/v-if-v-for', '/guide/migration/v-bind', + '/guide/migration/vnode-lifecycle-events', '/guide/migration/watch' ] } diff --git a/src/guide/migration/introduction.md b/src/guide/migration/introduction.md index a54ba52d9b..d12365c8a6 100644 --- a/src/guide/migration/introduction.md +++ b/src/guide/migration/introduction.md @@ -105,6 +105,7 @@ The following consists a list of breaking changes from 2.x: - [When watching an array, the callback will only trigger when the array is replaced. If you need to trigger on mutation, the `deep` option must be specified.](/guide/migration/watch.html) - `