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

eden-gulu

v1.1.1

Published

一个 UI 框架

Downloads

3

Readme

Eden-Gulu(Vue 造轮子)

Build Status npm GitHub

介绍

自制 Vue UI 框架。

美观、大方、实用。

详情请参阅 官方文档

开始使用

安装

如果你想体验 Eden-Gulu,推荐你进行全局安装:

# 全局安装
yarn global add eden-gulu  # 或者: npm install global eden-gulu

推荐在项目中使用 yarn 安装:

# 项目安装
yarn add -D eden-gulu  # 或者: npm install -D eden-gulu

我们推荐你全部使用 yarn 来代替 npm 在你的项目中。

默认样式

首先,如果你使用本框架中的任意组件, 请设置 CSS 样式 border-box

Tips:

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

IE8 及以上浏览器支持此样式。

你还需引入该框架中的 css 文件(后续会优化)。在 main.js 或所需组件中引入:

import 'eden-gulu/dist/index.css'

引入 eden-gulu

比如在 Vue 组件中引入 按钮组件:

import {Button} from 'eden-gulu'

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

关于 parcel

很多组件使用了自闭合标签。

因此,如果你使用 parcel 进行打包或虚拟预览,请让你的 bundler 识别自闭合标签。 你需要在 package.json 中做出设置:

{
  "posthtml": {
      "recognizeSelfClosing": true
  }
}

文档

如果你想深入了解并快速上手本组件,请参阅 官网 或上面给出的预览链接。

提问

Q: 本组件在何种环境下使用?

A: 因为组件本身是使用 Vue 框架编写,所以仅支持使用 Vue 进行开发的项目。

Q: 本组件适用于何种页面?

A: 任何页面都可以,无论是 PC 还是 移动端,都做了很好的适配;无论静态页面或动态页面,因为组件大多都是基础组件,所以从你项目搭建开始都是实用的。

变更记录

  • 2020-01-08 开始立项。
  • 2020-01-28 正式发布 V 1.1.0 版本。

联系方式

贡献代码

版权信息

MIT

Copyright (c) 2019-present, Guangsheng (Eden) Sheng