basic.vue 492 B

123456789101112131415161718192021
  1. <script setup lang="tsx">
  2. import { Welcome } from 'ant-design-x-vue';
  3. defineOptions({ name: 'AXWelcomeBasic' });
  4. const Demo = () => {
  5. return (
  6. <Welcome
  7. icon="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*s5sNRo5LjfQAAAAAAAAAAAAADgCCAQ/fmt.webp"
  8. title="Hello, I'm Ant Design X"
  9. description="Base on Ant Design, AGI product interface solution, create a better intelligent vision~"
  10. />
  11. );
  12. };
  13. defineRender(() => {
  14. return (
  15. <Demo />
  16. )
  17. })
  18. </script>