<n-card title="Card" closable @close="handleClose"> Card Content </n-card>
export default { methods: { handleClose () { this.$NMessage.info('Card Close') } } }
.n-card { max-width: 300px; }