mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
misc: update vuetify example
This commit is contained in:
parent
9b9c1264c6
commit
eff203740d
@ -1,23 +1,19 @@
|
||||
<template>
|
||||
<v-app>
|
||||
<v-toolbar>
|
||||
<v-toolbar-side-icon @click.native.stop="sidebar = !sidebar" />
|
||||
<v-toolbar-logo>Toolbar</v-toolbar-logo>
|
||||
<v-toolbar-side-icon @click.native.stop="drawer = !drawer" />
|
||||
<v-toolbar-title>Toolbar</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
<v-sidebar left fixed drawer v-model="sidebar">
|
||||
<v-navigation-drawer left fixed app v-model="drawer">
|
||||
<v-list>
|
||||
<v-list-item>
|
||||
<v-list-tile router nuxt href="/">
|
||||
<v-list-tile-title>Home</v-list-tile-title>
|
||||
</v-list-tile>
|
||||
</v-list-item>
|
||||
<v-list-item>
|
||||
<v-list-tile router nuxt href="/about">
|
||||
<v-list-tile-title>About</v-list-tile-title>
|
||||
</v-list-tile>
|
||||
</v-list-item>
|
||||
<v-list-tile router nuxt href="/">
|
||||
<v-list-tile-title>Home</v-list-tile-title>
|
||||
</v-list-tile>
|
||||
<v-list-tile router nuxt href="/about">
|
||||
<v-list-tile-title>About</v-list-tile-title>
|
||||
</v-list-tile>
|
||||
</v-list>
|
||||
</v-sidebar>
|
||||
</v-navigation-drawer>
|
||||
<main>
|
||||
<v-content>
|
||||
<v-container fluid>
|
||||
@ -32,7 +28,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
sidebar: false
|
||||
drawer: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "example-with-vuetify",
|
||||
"dependencies": {
|
||||
"nuxt": "latest",
|
||||
"nuxt-edge": "latest",
|
||||
"vuetify": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user