fvmu

基于vue2.5的一套UI及功能组件
1,365
Install
npm install fvmu
Latest Version:0.2.6
Vue:2
License:MIT
Last Updated:Aug 1, 2018
Links: npm
Maintainer: coolnuanfeng

github: git@github.com:Fanli-FE/FVMU.git

文档: https://fanlife.github.io/docs/fvmu/

安装

npm install fvmu --save

引入

仅支持按需引入,需借助babel-plugin-component

首先,安装 babel-plugin-component

    npm install babel-plugin-component -D

然后,在 .babelrc 的 plugins 中添加:

    "plugins": [
        [
            "component",
            {
                "libraryName": "fvmu",
                "styleLibraryName": "styles"
            }
        ]
    ]

接着,在你自己的文件中引入,以Toast(plugins)或者Button(components)为例

    import Vue from 'vue'
    import { Toast, Button } from 'fvmu'

    Vue.component(Button)

    /**********************
    * plugins用法,无需使用Vue.use
        Toast.open("fvmu)
    * 或者
        Toast.open({
            content: "fvmu"
        })
    */

Related Packages

@dev-prime/vue-prime-bricks

Library of reusable Vue components and utilities for UI

1,792
seeroad-ui

seeroad project ui library

3,733
ui
smart-ui

High Quality Mobile UI Componets by Vue.js 2.

1,883 11
ui
hea-ui

hea-ui is a h5 ui component for vue

1,520 14
ui

Version History

Version Released Vue License
0.2.6 ^2.5.16 MIT
0.2.5 ^2.5.16 MIT
0.2.4 ^2.5.16 MIT
0.2.3 ^2.5.16 MIT
0.2.2 ^2.5.16 MIT