0.1.8 • Published 5 years ago

vue-zyby-ui v0.1.8

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

vue-zyby-ui

子乐八音 组件包

Build Setup

npm i vue-zyby-ui -S

Usage

组件name 有统一前缀: by-, 例如

导入全部组件.

import Vue from 'vue';
import zybyUi from 'vue-zyby-ui'
import 'vue-zyby-ui/lib/theme/index.css'

Vue.use(zybyUi);

导入指定组件. (用到 babel-plugin-component)

import { CallPhone, NoData } from 'vue-zyby-ui';

Vue.component(CallPhone.name, CallPhone);
Vue.component(NoData.name, NoData);

babel-plugin-component

安装

npm i babel-plugin-component -D

配置.babelrc

{
      "libraryName": "vue-zyby-ui",
      "camel2Dash": false,
      "styleLibrary": {
        "name": "theme",
        "base": true
      }
    },

注意事项

部分组件css 使用了rem单位,以适配移动端。因此 使用本组件库前,所在项目应 进行适配改造。 改造所用库: lib-flexible 和 postcss-px2rem-exclude ,参见以下链接 https://www.cnblogs.com/skylineStar/p/10036525.html

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago