2017-10-17 15:13:37 +00:00
|
|
|
<template>
|
2018-07-12 12:03:50 +00:00
|
|
|
<div>
|
2020-11-30 22:44:04 +00:00
|
|
|
<mu-appbar title="Nuxt">
|
2018-07-12 12:03:50 +00:00
|
|
|
<mu-icon-button slot="left" icon="menu" @click="toggle()" />
|
|
|
|
<mu-icon-menu slot="right" icon="expand_more">
|
|
|
|
<mu-menu-item value="1" title="One" />
|
|
|
|
<mu-menu-item value="2" title="Two" />
|
|
|
|
<mu-menu-item value="3" title="Three" />
|
|
|
|
</mu-icon-menu>
|
|
|
|
</mu-appbar>
|
|
|
|
<mu-drawer :open="open" :docked="false" @close="toggle()">
|
|
|
|
<mu-list>
|
|
|
|
<mu-list-item title="Menu Item 1" />
|
|
|
|
<mu-list-item title="Menu Item 2" />
|
|
|
|
<mu-list-item title="Menu Item 3" />
|
|
|
|
</mu-list>
|
|
|
|
</mu-drawer>
|
|
|
|
<div class="content">
|
2018-08-31 20:34:12 +00:00
|
|
|
<mu-raised-button label="Primary" class="demo-raised-button" primary />
|
2018-07-12 12:03:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-17 15:13:37 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2018-07-12 12:03:50 +00:00
|
|
|
export default {
|
2019-07-10 10:45:49 +00:00
|
|
|
data () {
|
2018-07-12 12:03:50 +00:00
|
|
|
return {
|
|
|
|
open: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
2019-07-10 10:45:49 +00:00
|
|
|
toggle (flag) {
|
2018-07-12 12:03:50 +00:00
|
|
|
this.open = !this.open
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-17 15:13:37 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
2018-07-12 12:03:50 +00:00
|
|
|
.content {
|
|
|
|
margin: 10px
|
|
|
|
}
|
2017-10-17 15:13:37 +00:00
|
|
|
</style>
|