GithubHelp home page GithubHelp logo

cym2050 / hummer-ui-vue Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 196 KB

基于 typescript 与 Vue3 的 UI 库

Home Page: http://cym2050.gitee.io/hummer-ui-vue

HTML 1.15% Vue 79.87% TypeScript 11.83% SCSS 4.09% JavaScript 1.92% Shell 1.14%

hummer-ui-vue's Introduction

介绍

hummer UI 是一款基于 Vue 3 和 TypeScript 的 UI 组件库。

这个组件库是为实践 Vue3 与 typescript,锤炼技术能力而写,全程亲手编写,尽量不采用第三方库,包括你现在看到的这个官网也都是我自己写的。

所以强烈不建议你将此 UI 库用于生产环境。但如果你是抱着看源代码的目的来的,那么这个库还是值得一看的。源代码放在了 https://github.com/cym2050/hummer-ui-vue

安装

打开终端运行下列命令:

npm install hummer-ui-vue

yarn add hummer-ui-vue

开始使用

然后在你的代码中写入下面的代码

import { Button, Tabs, Tab, Switch, Dialog } from "hummer-ui-vue"

就可以使用我提供的组件了。

Vue 单文件组件

代码示例:

<template>
  <div>
    <Button>按钮</Button>
  </div>
</template>
<script>
import {Button, Tabs, Switch, Dialog} from "hummer-ui-vue"
export default {
  components: {Button}
}
</script>

hummer-ui-vue's People

Contributors

cym2050 avatar

Stargazers

冒泡的鱼oO 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.