Code Monkey home page Code Monkey logo

gulu-demo's Introduction

gulu 一个VUE UI组件

TeamCity CodeBetter node (scoped)

作者:From

介绍

这是我在学习Vue过程中制作的一个UI框架,提供了button、grid、input、layout、toast、tabs等常用组件,适合移动端和 PC 端使用。。

开始

1.安装
`npm i --save chelun-gungun`

2.添加css样式
使用本框架前,请在CSS中开启border-box
IE8之前不支持此样式
```
  *,*::after,*::before{
    box-sizing: border-box;
   }
```
当然,你还需要这设置一下默认的颜色:
```
    html {
      --button-height: 32px;
      --font-size: 14px;
      --button-bg: white;
      --button-active-bg: #eee;
      --border-radius: 4px;
      --color: #333;
      --border-color: #999;
      --border-color-hover: #666;
    }
```

本组件需要用parcel进行打包处理,需要您自行安装
在命令行运行 npx parcel index.html

3.引入

```
  import {Button, ButtonGroup, Icon} from 'chelun-gungun'
  import 'chelun-gungun/dist/index.css'

  export default {
    name: 'app',
    components: {
      HelloWorld,
      'g-button': Button
    }
  }
```

文档

提问

变更记录

联系方式

贡献代码

gulu-demo's People

Contributors

from-wh avatar

Stargazers

xieqi avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.