@gaoding/gd-components

Gaoding UI components library.
9,037
Install
npm install @gaoding/gd-components@1.16.1
Latest Version:1.16.1
Vue:2
License:ISC
Last Updated:May 1, 2019
Links: npm
Maintainer: facai

稿定公共业务组件库

起步

:::tip 依赖 vue version > 2.5 :::

安装

yarn

yarn add @gaoding/gd-components

npm

npm install -S @gaoding/gd-components

:::warning 如果是使用webpack等打包工具方式, 注意不要忽略对gd-components打包 因为gd-components提供的是后编译的环境, 从而减少项目最终打包体积 :::

打包工具使用方式使用

注入所有组件

import gdui from '@gaoding/gd-components';
import vue from 'vue';

vue.use(gdui);

按需引用方式

<template>
    <account-dialog></account-dialog>
</template>
<script>
import { AccountDialog } from '@gaoding/gd-components';
export defalut {
    components: { AccountDialog }
};
</script>

UMD方式引用

::: tip umd的相关资源都在 dist 目录下,另外 使用umd方式, 会自动全局注册gdui的所有组件 :::

<link rel="stylesheet" media="all" href="./dist/gdui.css">
<script src="./lib/vue.min.js"></script>
<script src="./dist/gdui.umd.min.js"></script>

Related Packages

@gaoding/editor-ui

A poster editor based on Vue.js

5,681
@gaoding/collage-editor

An editor to help user to create collage photos easily

4,989
@gaoding/kue-ui

Kue dashboard UI

2,889
@gaoding/mega-editor

合并了图片编辑器与抠图编辑器的 sdk

2,300
@gaoding/image-editor

图片编辑器图片元素 `clip` 字段內的值不允许为负数

1,738

Version History

Version Released Vue License
1.16.1 ^2.5.17 ISC
1.16.0 ^2.5.17 ISC
1.15.10 ^2.5.17 ISC
1.15.9 ^2.5.17 ISC
1.15.8 ^2.5.17 ISC
Pre-releases (91)
Version Released Vue License
1.17.0-beta.7 ^2.5.17 ISC
1.17.0-beta.6 ^2.5.17 ISC
1.17.0-beta.5 ^2.5.17 ISC
1.17.0-beta.4 ^2.5.17 ISC
1.17.0-beta.3 ^2.5.17 ISC