@bic-fe/mds-ui
A set of enterprise-class Vue UI components.
8,296
| Install | |
|---|---|
npm install @bic-fe/mds-ui@0.2.8 |
|
| Latest Version: | 0.2.8 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Feb 3, 2023 |
| Links: | Repository · npm |
Maintainer: matrix-design
Better enable enterprise project in the background
Intro
这是基于 Vue 的组件化实现,开发和服务于企业级产品,意旨在帮助开发者快速搭建属于自己的业务应用。
Install
npm 安装
推荐使用npm的方式安装,能更好的和
webpack等打包工具配合使用
npm install @bic-fe/mds-ui -S
CDN 引用
支持在页面上引入
Js和Css文件既可以开始使用
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/@bic-fe/mds-ui/dist/mds-ui.min.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/@bic-fe/mds-ui/dist/mds-ui.min.js"></script>
注意:使用CDN引入mds-ui组件库需要在链接地址上锁定版本,避免组件库升级的时候带来兼容性的影响。锁定版本的方法为在连接后面增加版本号
目前可以通过 unpkg.com/mds-ui 获取到最新版本的资源,支持在页面上引入Js和Css文件既可以开始使用
Quick Start
完整引入
import Vue from 'vue'; // 引入Vue
import '@bic-fe/mds-ui/dist/mds-ui.min.css'; // 引入组件的样式
import MdsUi from '@bic-fe/mds-ui'; // 引入组件
Vue.use(MdsUi); // 使用组件
按需引入
方法一:
可以通过下面的写法来按需加载组件
import Button from '@bic-fe/mds-ui/dist/button';
方法二:
也可以使用 babel-plugin-import 来进行按需加载
import { Button } from '@bic-fe/mds-ui';
.babelrc修改
{
"plugins": [
[
"import", {
"libraryName": "@bic-fe/mds-ui",
"libraryDirectory": "dist",
"styleLibraryDirectory": "dist/style",
"style":true
}
]
]
}
Browser Support
Modern browsers and Internet Explorer 10+.
License
Related Packages
@fxshelf/glyph-rain
Matrix-style glyph rain with cursor stir and drop-head lighting for React and Vu...
295
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.8 | ^2.6.11 | MIT | |
| 0.2.7-stable | ^2.6.11 | MIT | |
| 0.2.6 | ^2.6.11 | MIT | |
| 0.2.5 | ^2.6.11 | MIT | |
| 0.2.4 | ^2.6.11 | MIT | |
| 0.2.3 | ^2.6.11 | MIT | |
| 0.2.2 | 2.6.11 | MIT | |
| 0.2.1 | 2.6.8 | MIT | |
| 0.1.20 | ^2.6.8 | MIT | |
| 0.1.19 | ^2.6.8 | MIT | |
| 0.1.18 | ^2.6.8 | MIT | |
| 0.1.17 | ^2.6.8 | MIT | |
| 0.1.16 | ^2.6.8 | MIT | |
| 0.1.15 | ^2.6.8 | MIT | |
| 0.1.14 | ^2.6.8 | MIT | |
| 0.1.13 | ^2.6.8 | MIT | |
| 0.1.12 | ^2.6.8 | MIT | |
| 0.1.11 | ^2.6.8 | MIT | |
| 0.1.10 | ^2.6.8 | MIT | |
| 0.1.9 | ^2.6.8 | MIT | |
| 0.1.8 | ^2.6.8 | MIT | |
| 0.1.7 | ^2.6.8 | MIT | |
| 0.1.6 | ^2.6.8 | MIT | |
| 0.1.5 | ^2.6.8 | MIT | |
| 0.1.4 | ^2.6.8 | MIT | |
| 0.1.3 | ^2.6.8 | MIT | |
| 0.1.2 | ^2.6.8 | MIT | |
| 0.1.1 | ^2.6.8 | MIT | |
| 0.1.0 | ^2.6.8 | MIT | |
| 0.0.11 | ^2.6.8 | MIT |
Showing the latest 30 of 39. See every release on npm
Pre-releases (128)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.9-rc.2 | ^2.6.11 | MIT | |
| 0.2.9-rc.1 | ^2.6.11 | MIT | |
| 0.2.9-rc.0 | ^2.6.11 | MIT | |
| 0.2.8-rc.4 | ^2.6.11 | MIT | |
| 0.2.8-rc.3 | ^2.6.11 | MIT | |
| 0.2.8-rc.2 | ^2.6.11 | MIT | |
| 0.2.8-rc.1 | ^2.6.11 | MIT | |
| 0.2.8-rc.0 | ^2.6.11 | MIT | |
| 0.2.7-rc.6 | ^2.6.11 | MIT | |
| 0.2.7-rc.5 | ^2.6.11 | MIT | |
| 0.2.7-rc.4 | ^2.6.11 | MIT | |
| 0.2.7-rc.3 | ^2.6.11 | MIT | |
| 0.2.7-rc.0 | ^2.6.11 | MIT | |
| 0.2.6-rc.6 | ^2.6.11 | MIT | |
| 0.2.6-rc.5 | ^2.6.11 | MIT | |
| 0.2.6-rc.4 | ^2.6.11 | MIT | |
| 0.2.6-rc.3 | ^2.6.11 | MIT | |
| 0.2.6-rc.2 | ^2.6.11 | MIT | |
| 0.2.6-rc.1 | ^2.6.11 | MIT | |
| 0.2.5-rc.6 | ^2.6.11 | MIT | |
| 0.2.5-rc.5 | ^2.6.11 | MIT | |
| 0.2.5-rc.4 | ^2.6.11 | MIT | |
| 0.2.5-rc.3 | ^2.6.11 | MIT | |
| 0.2.5-rc.2 | ^2.6.11 | MIT | |
| 0.2.5-rc.1 | ^2.6.11 | MIT | |
| 0.2.5-rc.0 | ^2.6.11 | MIT | |
| 0.2.4-rc.18 | ^2.6.11 | MIT | |
| 0.2.4-rc.17 | ^2.6.11 | MIT | |
| 0.2.4-rc.16 | ^2.6.11 | MIT | |
| 0.2.4-rc.15 | ^2.6.11 | MIT |
Showing the latest 30 of 128. See every release on npm
MATRIX