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