Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Logbahadur Gurkha (Alok) edited this pageSep 28, 2021 ·1 revision

Welcome

Layouts

  1. Content Layout: To render your pages w/ components like navigation drawer, appbar, footer, etc.
  2. Blank Layout: To render pages like Login, Register, etc.

You can define layout for route in meta of that route.

Usage:

{path:'/user-view',name:'user-view',component:()=>import('@/views/user/UserView.vue'),// for `Content` layout there's no need to define layout meta},
{path:'/forgot-password',name:'forgot-password',component:()=>import('@/views/auth/ForgotPassword.vue'),meta:{layout:'blank',},},

Navigation Drawer Items

You can update navigation drawer items by editingVerticalNavMenu.vue file located atresources/js/src/layouts/components/vertical-nav-menu/VerticalNavMenu.vue.

NavMenuSectionTitle

For creating a navigation drawer section.

<nav-menu-section-titletitle="USER INTERFACE"></nav-menu-section-title>

Props

NameDescriptionTypeParametersDefault
title*Section titleString--

NavMenuLink

For creating a navigation drawer link.

You can omit to passicon prop ifNavMenuLink is a child of theNavMenuGroup component.

<nav-menu-linktitle="Dashboard":to="{ name: 'dashboard' }":icon="icons.mdiHomeOutline"></nav-menu-link>
NameDescriptionTypeParametersDefault
title*Link titleString--
iconIcon to render on leftStringany valid v-icon icon stringundefined
*other props supported byv-list-item----

NavMenuGroup

For creating a navigation drawer group.

It providesdefault slot to renderNavMenuLink as child.

<nav-menu-grouptitle="Pages":icon="icons.mdiFileOutline"><!-- Default Slot --><nav-menu-linktitle="Login":to="{ name: 'pages-login' }"target="_blank"></nav-menu-link></nav-menu-group>
NameDescriptionTypeParametersDefault
title*Group titleString--
icon*Icon to render on leftStringany valid v-icon icon stringundefined

AppBar & Footer Customization

You can customize AppBar & Footer by updatingContent.vue layout file located atsrc/layouts/Content.vue

Style Customization

You can write your custom styles inresources/sass/styles directory. Do no removestyles.scss &variables.scss present in this directory.

If you want to override Vuetify variables you can use theresources/sass/styles/variables.scss file. If you want to write your custom styles then you can useresources/sass/styles/styles.scss


Enjoy the free template. Don't forget to check outThemeSelection & Star this repo 😇


[8]ページ先頭

©2009-2025 Movatter.jp