Skip to content

Commit

Permalink
change favicon and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
versoon committed Jan 22, 2024
1 parent f3f90e3 commit 9abfbf9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,36 @@
npm i @huixiong/x-element --save
```

[立即使用:boom:](https://element.hackslog.com/)
[立即使用](https://element.hackslog.com/beginning.html) :boom:

## 开始使用

全局使用

```js
import XElement from '@versoon/x-element'
import '@versoon/x-element/dist/style.css'

import App from './App.vue'
createApp(App).use(XElement).mount('#app')
```

```vue
<template>
<hx-button type="primary">点击</hx-button>
</template>
```

单个导入

```vue
<template>
<Button loading></Button>
</template>
<script>
import { Button } from ' @versoon/x-element'
export default {
components: { Button }
}
</script>
```
File renamed without changes.

0 comments on commit 9abfbf9

Please sign in to comment.