market-ui

0.2.3 • Public • Published

Market-Ui

Committed to the efficient development of PC end in the background products Vue.js Component library.

文档截图

Document

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);

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群二维码
Wechat
微信群二维码

LICENSE

MIT

Star

If you like the market UI component library, thank you very much for giving a star or participating in project maintenance ~

Package Sidebar

Install

npm i market-ui

Weekly Downloads

8

Version

0.2.3

License

MIT

Unpacked Size

5.43 MB

Total Files

299

Last publish

Collaborators

  • aaa15862117925