Skip to content

Commit a4b8076

Browse files
committed
fix: vue drawer nav
1 parent a78d58d commit a4b8076

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/template-drawer-navigation-vue/app/components/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<StackLayout ~leftDrawer backgroundColor="#ffffff">
44
<DrawerContent />
55
</StackLayout>
6-
<Frame ~mainContent>
6+
<Frame ~mainContent id="main">
77
<Home />
88
</Frame>
99
</Drawer>

packages/template-drawer-navigation-vue/app/components/DrawerContent.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
onNavigationItemTap(component: any, pageName: string) {
6969
this.selectedPage = pageName
7070
$navigateTo(component, {
71+
frame: 'main',
7172
clearHistory: true
7273
})
7374
utils.closeDrawer()

packages/template-drawer-navigation-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "app/app.ts",
44
"displayName": "Navigation Drawer",
55
"templateType": "App template",
6-
"version": "9.0.4",
6+
"version": "9.0.5",
77
"description": "Side navigation template using Vue.",
88
"author": "NativeScript Team <oss@nativescript.org>",
99
"license": "Apache-2.0",

0 commit comments

Comments
 (0)