Fetch the repository succeeded.
This action will force synchronization from monw3c/xmui, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
基于vue 2+ ,为公司产品打(zao)造(lun)的(zi)可复用UI组件,适用于 移动 和 部分PC 端,其中包括 基础组件 和 应用组件,目前 组件 和 文档 在不断完善中。
>=v2.1.4
开发的可复用 UI 组件,并且可随产品需要扩展全局引入 -- 在 webpack 入口文件 main.js 中如下配置:
# 安装
cnpm install x-m-ui --save
# 引入css
import 'x-m-ui/package/xmui.min.css'
# 引入xmui.min.js
import xmui from 'x-m-ui'
# 注入到vue
Vue.use(xmui)
按需引入 -- 在 入口文件 main.js 或 组件内 中如下配置:
# 全局组件 main.js引入
import Toast from 'x-m-ui/package/comps/components/toast'
Vue.prototype.$toast = Toast
# 一般组件
import xmButton from 'x-m-ui/package/comps/components/button'
import xmButtonGroup from 'x-m-ui/package/comps/components/buttongroup'
import xmModal from 'x-m-ui/package/comps/components/modal'
...
components: {
xmButton,
xmButtonGroup,
xmModal
...
}
更多说明,请查看在线文档
在此不一一感谢所有付出脑力体力的同仁,如有疑问,请与我们联系
如果你在使用时遇到问题,或者有好的建议,欢迎给我们提 Issue 或 Pull Request
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。