From 3fed5aebde4e05b6f7a22291f1a93123c0082623 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 24 Apr 2020 14:05:27 +0200 Subject: [PATCH] docs: note about transition and initial navigation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index dea7f493..d5a2acda 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,13 @@ Since the library is still unstable **and because we want feedback** on bugs and ], } ``` +- If you use a `transition`, you need to wait for the router to be _ready_ before mounting the app: + ```js + app.use(router) + // Note: on Server Side, you need to manually push the initial location + router.isReady().then(() => app.mount('#app')) + ``` + Otherwise there will be an initial transition as if you provided the `appear` prop to `transition` #### Improvements -- 2.39.5