Nuxt/examples/with-vux/pages/index.vue

23 lines
346 B
Vue
Raw Normal View History

2018-03-09 10:01:06 +00:00
<template>
<div>
<group title="vux demo">
<cell title="cell" value="click me" is-link @click.native="alert"/>
2018-03-09 10:01:06 +00:00
</group>
</div>
</template>
<script>
export default {
head() {
return {
title: 'vux demo'
}
},
methods: {
alert() {
this.$vux.alert.show('This is a Alert example.')
}
}
}
</script>