mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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>
|