Skip to content

Commit

Permalink
chore: update demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Mar 23, 2023
1 parent c4e3661 commit 98707e0
Show file tree
Hide file tree
Showing 8 changed files with 286 additions and 252 deletions.
21 changes: 11 additions & 10 deletions demo/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ const navbarRoutes: NavbarRoute[] = [
path: "/"
},
{
label: "Categories",
label: "Pages",
icon: "mdi:bookmark-multiple-outline",
children: [
{
label: "Books",
label: "Page 1",
icon: "material-symbols:menu-book-outline-rounded",
path: "/books"
path: "/page1"
},
{
label: "Computers",
label: "Page 2",
icon: "material-symbols:computer-outline",
path: "/computers"
path: "/page2"
}
]
}
Expand All @@ -95,16 +95,16 @@ const tabBarRoutes: TabbarRoute[] = [
path: "/"
},
{
label: "Books",
label: "Page 1",
iconUnselected: "material-symbols:menu-book-outline-rounded",
iconSelected: "material-symbols:menu-book-sharp",
path: "/books"
path: "/page1"
},
{
label: "Computers",
label: "Page 2",
iconUnselected: "material-symbols:computer-outline",
iconSelected: "material-symbols:computer",
path: "/computers"
path: "/page2"
}
]
</script>
Expand All @@ -115,4 +115,5 @@ const tabBarRoutes: TabbarRoute[] = [
display: flex;
align-items: center;
gap: 1em
}</style>
}
</style>
3 changes: 3 additions & 0 deletions demo/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ export default defineNuxtConfig({
tailwindcss: {
exposeConfig: true,
},
naiveui: {
colorModePreference: "system",
},
});
Loading

1 comment on commit 98707e0

@vercel
Copy link

@vercel vercel bot commented on 98707e0 Mar 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.