A Pen by anandkumarpathak on CodePen.
Created
April 9, 2019 17:15
-
-
Save anandkumarpathak/23391b7b2e5a45272c137b1624475897 to your computer and use it in GitHub Desktop.
Vuetify Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<v-app id="inspire"> | |
<v-navigation-drawer | |
fixed | |
v-model="drawerRight" | |
right | |
clipped | |
app | |
> | |
<v-list dense> | |
<v-list-tile @click.stop="right = !right"> | |
<v-list-tile-action> | |
<v-icon>exit_to_app</v-icon> | |
</v-list-tile-action> | |
<v-list-tile-content> | |
<v-list-tile-title>Open Temporary Drawer</v-list-tile-title> | |
</v-list-tile-content> | |
</v-list-tile> | |
</v-list> | |
</v-navigation-drawer> | |
<v-toolbar | |
color="blue-grey" | |
dark | |
fixed | |
app | |
clipped-right | |
> | |
<v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon> | |
<v-toolbar-title>Toolbar</v-toolbar-title> | |
<v-spacer></v-spacer> | |
<v-toolbar-side-icon @click.stop="drawerRight = !drawerRight"></v-toolbar-side-icon> | |
</v-toolbar> | |
<v-navigation-drawer | |
fixed | |
v-model="drawer" | |
app | |
> | |
<v-list dense> | |
<v-list-tile @click.stop="left = !left"> | |
<v-list-tile-action> | |
<v-icon>exit_to_app</v-icon> | |
</v-list-tile-action> | |
<v-list-tile-content> | |
<v-list-tile-title>Open Temporary Drawer</v-list-tile-title> | |
</v-list-tile-content> | |
</v-list-tile> | |
</v-list> | |
</v-navigation-drawer> | |
<v-navigation-drawer | |
temporary | |
v-model="left" | |
fixed | |
></v-navigation-drawer> | |
<v-content> | |
<v-container fluid fill-height> | |
<v-layout justify-center align-center> | |
<v-flex shrink> | |
<v-tooltip right> | |
<v-btn | |
icon | |
large | |
:href="source" | |
target="_blank" | |
slot="activator" | |
> | |
<v-icon large>code</v-icon> | |
</v-btn> | |
<span>Source</span> | |
</v-tooltip> | |
</v-flex> | |
</v-layout> | |
</v-container> | |
</v-content> | |
<v-navigation-drawer | |
right | |
temporary | |
v-model="right" | |
fixed | |
></v-navigation-drawer> | |
<v-footer color="blue-grey" class="white--text" app> | |
<span>Vuetify</span> | |
<v-spacer></v-spacer> | |
<span>© 2017</span> | |
</v-footer> | |
</v-app> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Vue({ | |
el: '#app', | |
data: () => ({ | |
drawer: true, | |
drawerRight: true, | |
right: null, | |
left: null | |
}), | |
props: { | |
source: String | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/vue/dist/vue.js"></script> | |
<script src="https://unpkg.com/vuetify/dist/vuetify.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet" /> | |
<link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment