From 5b54f9ee3d5b62023ab4df0d160131e5cb15ef5c Mon Sep 17 00:00:00 2001 From: David Kagiri Date: Thu, 10 Aug 2023 12:54:41 +0300 Subject: [PATCH] Update page_two_vue.md This gets rid of a warning "[Vue warn]: Vue received a Component which was made a reactive object." that Vue raises. --- static/usage/v7/nav/nav-link/vue/page_two_vue.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/usage/v7/nav/nav-link/vue/page_two_vue.md b/static/usage/v7/nav/nav-link/vue/page_two_vue.md index 0d736d69c88..40fe53217c6 100644 --- a/static/usage/v7/nav/nav-link/vue/page_two_vue.md +++ b/static/usage/v7/nav/nav-link/vue/page_two_vue.md @@ -27,7 +27,7 @@ IonButtons, IonBackButton, } from '@ionic/vue'; - import PageThree from './PageThree.vue'; + import { markRaw, defineAsyncComponent } from "vue"; export default { components: { @@ -42,7 +42,7 @@ }, data() { return { - component: PageThree, + component: markRaw(defineAsyncComponent(() => import('./PageThree.vue') )), }; }, };