@mdsfe/mds-ui
A set of enterprise-class Vue UI components-beta.
13,480
| Install | |
|---|---|
npm install @mdsfe/mds-ui@0.4.10 |
|
| Latest Version: | 0.4.10 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Feb 2, 2026 |
| Links: | Repository · npm |
Maintainer: matrix-design
MDS UI
Better enable enterprise project in the background
Intro
这是基于 Vue 的组件化实现,开发和服务于企业级产品,意旨在帮助开发者快速搭建属于自己的业务应用。
Install
npm 安装
推荐使用 npm 的方式安装,能更好的和
webpack等打包工具配合使用
npm install @mdsfe/mds-ui -S
CDN 引用
支持在页面上引入
Js和Css文件既可以开始使用
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/@mdsfe/mds-ui/dist/mds-ui.min.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/@mdsfe/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 '@mdsfe/mds-ui/dist/mds-ui.min.css'; // 引入组件的样式
import MdsUi from '@mdsfe/mds-ui'; // 引入组件
Vue.use(MdsUi); // 使用组件
按需引入
方法一:手动引入
可以通过下面的写法来按需加载组件:
import Button from '@mdsfe/mds-ui/dist/button';
方法二:使用 babel-plugin-import
也可以使用 babel-plugin-import 来进行按需加载:
import { Button } from '@mdsfe/mds-ui';
.babelrc 修改:
{
"plugins": [
[
"import", {
"libraryName": "@mdsfe/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.4.10 | ^2.6.11 | MIT | |
| 0.4.9 | ^2.6.11 | MIT | |
| 0.4.8 | ^2.6.11 | MIT | |
| 0.4.7 | ^2.6.11 | MIT | |
| 0.4.6 | ^2.6.11 | MIT | |
| 0.4.5 | ^2.6.11 | MIT | |
| 0.4.4 | ^2.6.11 | MIT | |
| 0.4.3 | ^2.6.11 | MIT | |
| 0.4.2 | ^2.6.11 | MIT | |
| 0.4.1 | ^2.6.11 | MIT | |
| 0.4.0 | ^2.6.11 | MIT | |
| 0.2.10 | ^2.6.11 | MIT | |
| 0.2.9 | ^2.6.11 | MIT | |
| 0.2.8 | ^2.6.11 | MIT | |
| 0.2.0 | 2.6.8 | MIT |
Pre-releases (62)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.11-2 | ^2.6.11 | MIT | |
| 0.4.11-1 | ^2.6.11 | MIT | |
| 0.4.11-0 | ^2.6.11 | MIT | |
| 0.4.9-beta.5 | ^2.6.11 | MIT | |
| 0.4.9-beta.4 | ^2.6.11 | MIT | |
| 0.4.0-rc.9 | ^2.6.11 | MIT | |
| 0.4.0-rc.8 | ^2.6.11 | MIT | |
| 0.4.0-rc.7 | ^2.6.11 | MIT | |
| 0.4.0-rc.6 | ^2.6.11 | MIT | |
| 0.4.0-rc.5 | ^2.6.11 | MIT | |
| 0.4.0-rc.4 | ^2.6.11 | MIT | |
| 0.4.0-rc.3 | ^2.6.11 | MIT | |
| 0.4.0-rc.2 | ^2.6.11 | MIT | |
| 0.4.0-rc.1 | ^2.6.11 | MIT | |
| 0.3.0-24 | ^2.6.11 | MIT | |
| 0.3.0-23 | ^2.6.11 | MIT | |
| 0.3.0-22 | ^2.6.11 | MIT | |
| 0.3.0-20 | ^2.6.11 | MIT | |
| 0.3.0-19 | ^2.6.11 | MIT | |
| 0.3.0-18 | ^2.6.11 | MIT | |
| 0.3.0-17 | ^2.6.11 | MIT | |
| 0.3.0-15 | ^2.6.11 | MIT | |
| 0.3.0-14 | ^2.6.11 | MIT | |
| 0.3.0-13 | ^2.6.11 | MIT | |
| 0.3.0-12 | ^2.6.11 | MIT | |
| 0.3.0-11 | ^2.6.11 | MIT | |
| 0.3.0-10 | ^2.6.11 | MIT | |
| 0.3.0-9 | ^2.6.11 | MIT | |
| 0.3.0-8 | ^2.6.11 | MIT | |
| 0.3.0-7 | ^2.6.11 | MIT |
Showing the latest 30 of 62. See every release on npm