]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore(warn): typo in <keep-alive> deprecation message (#347)
authorJohann Schopplich <mail@johannschopplich.com>
Fri, 3 Jul 2020 14:54:50 +0000 (16:54 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Jul 2020 14:54:50 +0000 (16:54 +0200)
src/RouterView.ts

index 1041cfc41f57196fbcf53bbe1fc0dff4df785aeb..f0ec73e46160455318d7fc466d63bffdd5e62883 100644 (file)
@@ -125,7 +125,7 @@ function warnDeprecatedUsage() {
     warn(
       `<router-view> can no longer be used directly inside <transition> or <keep-alive>.\n` +
         `Use slot props instead:\n\n` +
-        `<router-view v-slot="{ Component }>\n` +
+        `<router-view v-slot="{ Component }">\n` +
         `  <${comp}>\n` +
         `    <component :is="Component" />\n` +
         `  </${comp}>\n` +