market-ui
market-ui copied to clipboard
简洁高效的Vue.js组件库。
Market-Ui
Committed to the efficient development of PC end in the background products Vue.js Component library.
Document
- 中文文档DEMO
- FAQ
Install
npm i market-ui -S
Quick Start
- Global
import Vue from 'vue'
import MarketUi from 'market-ui'
import 'market-ui/lib/styles/index.css'
Vue.use(MarketUi);
- On demand
import Vue from 'vue'
import { Button } from 'market-ui'
import 'market-ui/lib/styles/button.css';
Vue.use(Button);
- Through babel-plugin-component, the corresponding CSS file will be automatically imported!
install babel-plugin-component:
npm i babel-plugin-component -D
Create the . Babelrc
configuration file in the root directory:
{
"plugins": [
[
"component",
{
"libraryName": "market-ui",
"styleLibraryName": "styles"
}
]
]
}
use demo:
import Vue from 'vue'
import { Button, Switch } from 'market-ui'
Vue.use(Button).use(Switch);
Organization
Welcome to the group and the author face-to-face discussion, component library infrastructure and development experience, put forward requirements and common maintenance! Looking forward to your joining ~
QQ
![qq群二维码](https://statics.1data.info/market-ui/assets/img/qun-qq.png)
Wechat
![微信群二维码](https://statics.1data.info/market-ui/assets/img/qun-wechat.jpeg)
LICENSE
MIT
Star
If you like the market UI component library, thank you very much for giving a star or participating in project maintenance ~