vue.js ui
Next Generation Material UI for Vue.js
Vue.js的下一代Material UI
Following the Material Design UI components for the web specification, we developed a BalmUI library antd that contains a set of high quality components and demos for building rich, interactive user interfaces.
遵循针对Web规范的Material Design UI组件之后,我们开发了一个BalmUI库antd,其中包含一组高质量的组件和演示,用于构建丰富的交互式用户界面。
npm install --save balm-ui
// OR
yarn add balm-ui
Edit my-project/app/styles/global/_vendor.scss
编辑my-project/app/styles/global/_vendor.scss
/* Add BalmUI styles */
@import 'node_modules/balm-ui/src/styles/balm-ui.scss';
Download Material Design Icons and extract to /path/to/my-project/app/fonts
.
下载Material Design图标并解压缩到/path/to/my-project/app/fonts
。
Edit my-project/app/scripts/main.js
编辑my-project/app/scripts/main.js
import Vue from 'vue';
import BalmUI from 'balm-ui'; // Mandatory
import BalmUIPlus from 'balm-ui/dist/balm-ui-plus'; // Optional
Vue.use(BalmUI); // Mandatory
Vue.use(BalmUIPlus); // Optional
import Vue from 'vue';
import UiButtonComponents from 'balm-ui/components/button';
// (Recommended) Splitting CSS out from the main application, see BalmUI advanced usage.
import 'balm-ui/components/core.css';
import 'balm-ui/components/button.css';
import 'balm-ui/components/icon.css'; // Optional.
Vue.use(UiButtonComponents);
Enjoy
享受
Layouts
版面
Buttons
纽扣
Icon
图标
Data View
资料检视
Linear Progress
线性进展
Inputs and Controls
输入和控制
Modal
模态
Menu
菜单
Event
事件
Grid
格
Typography
版式
Theme
主题
Validator (:bulb:)
验证者(:bulb :)
Alert (:bulb:)
警报(:bulb :)
Confirm (:bulb:)
确认(:bulb :)
Toast (:bulb:)
吐司(:bulb :)
Ripple
波纹
Elevation
海拔
Shape
形状
Type Detections
类型检测
Helper Functions
辅助功能
IE Detection
IE检测
:bulb:: Plus UI, :skull:: Deprecated
:bulb :: Plus UI,:skull ::不推荐使用
We'd love for you to contribute and make BalmUI even better than it is today!
我们希望您能为BalmUI做出贡献,并使BalmUI变得比今天更好!
Welcome to help us improve BalmUI, and issues here.
欢迎帮助我们改进BalmUI,以及此处的问题。
We officially support the last two versions of every major browser. Specifically, we test on the following browsers:
我们正式支持每个主要浏览器的最后两个版本。 具体来说,我们在以下浏览器上进行测试:
Chrome on Android, Windows, macOS, and Linux
Android,Windows,macOS和Linux上的Chrome
Firefox on Windows, macOS, and Linux
Windows,macOS和Linux上的Firefox
Safari on iOS and macOS
iOS和macOS上的Safari
Edge on Windows
Windows上的Edge
IE 11 on Windows
Windows上的IE 11
翻译自: https://vuejsexamples.com/next-generation-material-ui-for-vue-js/
vue.js ui