mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
23 lines
346 B
Vue
23 lines
346 B
Vue
<template>
|
|
<div>
|
|
<group title="vux demo">
|
|
<cell title="cell" value="click me" is-link @click.native="alert"/>
|
|
</group>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
head() {
|
|
return {
|
|
title: 'vux demo'
|
|
}
|
|
},
|
|
methods: {
|
|
alert() {
|
|
this.$vux.alert.show('This is a Alert example.')
|
|
}
|
|
}
|
|
}
|
|
</script>
|