npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hg-view

v0.0.7-1

Published

这是一个关于vue的iu框架

Downloads

6

Readme

轮子 - 一个Vue UI组件

Build Status

button logo button logo button logo

介绍

这是一个在学习Vue的过程中做的一个UI框架,希望对你有用。

开始使用

1.添加css样式 使用框架前,请在css中开启border-box

*,*::before,*::after{ box-sizing: border-box;}

IE 8 及以上浏览器都支持此样式

你还需要设置默认颜色等变量(后续会改为 scss变量)

  html {
    /*纯色,渐变*/
    --button-height:32px;
    --font-size:1em;
    --button-bg:white;
    --button-bg-s-success:#19be6b;
    --button-bg-s-info:#6772FF;
    --button-bg-s-warning:#f5720d;
    --button-bg-s-error:#F87176;
    --border-color: #666;
    --color:#e30076;
    --color-hover:#666;
    --border-color: #666;
    --border-color-hover:#e30076;

    --button-bg-success:linear-gradient(to right, #39AC4C,#22BFE4);
    --button-bg-info:linear-gradient(to right, #6772FF 0,#00F9E5);
    --button-bg-warning:linear-gradient(to right, #f5720d, #CDDC30);
    --button-bg-error:linear-gradient(to right, #D40E00,#F87176);
    --border-image:linear-gradient(to right, #20e5f5, #7bb2f1) 1;
    --button-active-bg: #e30076;
    --border-radius:6px;
    --color-two:#fff;
    --color-hover-two:#fff;
    --border-color-two: #fff;
    --border-color-hover-two:#ddd;
  }

IE 15 及以上浏览器都支持此样式

2.安装 hg-view

npm i --save hg-view

3.引入 hg-view

import {hButton} from "hg-view"
import "hg-view/dist/index.css"
components:{
  "h-button":hButton
}

4.引入 svg symbols (可自定义)

  <script type="module" src="//at.alicdn.com/t/c/font_3866991_h3mwe0iest.js"></script>

文档

目前支持 button,input,icon,video,row,col栅格布局 组件

提问

变更记录

联系方式

共享代码

作者:wo