<script setup>
// import xtxMessage from '../packages/components/xtx-message.vue';
import xtxButton from '../packages/components/xtx-button.vue'
import Message from '../packages/components/Message';

const handleMsg = () => {
  Message({
    type: 'success',
    text: '登录成功~'
  })
}
</script>

<template>
  <!-- <xtx-message type="success" text="成功~"></xtx-message> -->
  <xtx-button type="primary" @click="handleMsg">弹出信息</xtx-button>
</template>

<style scoped lang="less">

</style>
