0.2.3 • Published 3 years ago

axe-ui v0.2.3

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

常用链接

安装

npm install axe-ui -S

快速使用

全局引入:

import { createApp } from 'vue'
import App from './App.vue'
import Axe from 'axe-ui'
import 'axe-ui/dist/axe.css'

createApp(App).use(Axe).mount('#app')

本组件支持按需导入。你也可以像下边这样,单独导入需要的组件:

import { createApp } from 'vue'
import App from './App.vue'
import { AxeInput, AxeButton /* ...其他组件 */ } from 'axe-ui'
// 或者:import AxeButton from 'axe-ui/dist/lib/button/index.js';
import 'axe-ui/dist/css/input/style.css'
import 'axe-ui/dist/css/button/style.css'

const app = createApp(App)
app.component(AxeInput.name, AxeInput)
app.component(AxeButton.name, AxeButton)

/* or
 * app.use(AxeInput)
 * app.use(AxeButton)
 */

app.mount('#app')

浏览器支持

  • 现代浏览器
  • IE 11+

开发文档

更新日志

参与贡献

Axe强烈欢迎你的参与,在编写代码前,烦请请先阅读我们的贡献指南。他记录了所有的贡献须知,可以让你更快上手源码库。

特别感谢

下面的贡献者让组件库变得更好,感谢所有为Axe做出贡献的人!

以贡献时间为序,感谢:

加入我们

LICENSE

MIT