资源算法ntbl-vue-gogh

ntbl-vue-gogh

2020-02-20 | |  40 |   0 |   0

一个 vue 的 ui 库。

API Documentation

安装

npm i @ntbl/vue-gogh --save

使用

import Vue from 'vue'// 导入所有的 gogh 组件import gogh from '@ntbl/vue-gogh'// 全局注册Vue.use(gogh)// 仅导入 button 组件import button from '@ntbl/vue-gogh/package/componetns/button'// 全局注册Vue.use(button)// 全局注册(自定义组件名)Vue.component('my-button', button)// 或局部注册(在组件文件中)export default {
  components: {    'my-button': button
  }
}

注意,单个导入使用到图标的组件时,你还需要手动导入 gogh-icon 组件,以让图标正常显示。

import icon from '@ntbl/vue-gogh/package/componetns/icon'// 不能重定义组件名,内部使用 `gogh-icon` 调用此组件Vue.use(icon)

组件

vue-gogh 目前拥有的组件:


上一篇:Van-Gogh-Art-Gallery

下一篇:pytorch-deeplab-resnet

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...