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

23 lines
349 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 () {
2018-03-09 10:01:06 +00:00
return {
title: 'vux demo'
}
},
methods: {
alert () {
2018-03-09 10:01:06 +00:00
this.$vux.alert.show('This is a Alert example.')
}
}
}
</script>