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

yi-frames-app

v1.0.0

Published

The mobile UI widgets and widgets for Yi-Frames

Downloads

4

Readme

#yi-frames-ui NPM version Build Status Dependency Status Coverage percentage

The Mobile UI widgets of Yi-Frames

安装Yi-frames脚手架

First, 使用cnpm/npm/yarn 全局安装 Yeoman & generator-yi-frames.

cnpm i -g yo
cnpm i -g generator-yi-frames

Second,安装Yi-frames-js

  • 同脚手架模板一起安装:下载脚手架模板到项目文件夹,自带yi-frames-ui模块:
yo yi-frames

* 单独安装
cnpm i --S yi-frames-app@版本号

[email protected]介绍

- 主框架: Layout
- 按钮:  Button
- 共用:Common
- Flex:Flex
- 浮动:Float
- 复选&单选:Checkbox/Radio
- 选择器:Select
- 输入框:Input
- 表单类:Forms
- 警告提示:Alert
- 吐司:Toast
- 对话框:Modal
- 标签页:Tabs
- 回到顶部:goTop
- 动画:Animation

使用说明

1、版本号
    - 下载下来脚手架后,在package.json里可查看yi-frames-app的版本

2、Pug
    - demo.pug内内容为相关配置文件,如下:
        extends ../node_modules/yi-frames-ui/m-widget/pug/layout.pug
        block pugConfig
	        -const pugConfig={titleText:`demoTitle`, cssName:`demoStyle`, confName:`demoJs`, isNotSpa:true, bodyClassName:['alert'], suffix:`.min`};
        block bodyContent
	        //- 内容编写区域,
    - layout已包含所有组件,如需组件可直接‘+name’即可使用,无需单独引用组件文件;
3、Sass
    - _mixin.scss为配置文件,可重定义组件样式,谨慎修改;
    - public.scss 为公用文件,已调用所有组件样式,如个别组件本需求暂无使用,建议注释掉,避免垃圾样式产生。
    - ‘_mixin.scss、layout.scss、common.scss’三个文件为所有项目依赖文件,必须调用;
    - 单页使用可直接调用相应组件样式,如下:@import "../../node_modules/yi-frames-ui/m-widget/scss/button.scss";

4、预览及调用方法
http://ep-svnserver30.tech.bitauto.com/FE/yi-widget/yi-wap-api/html/html/index.html

License

MIT © 贾时龙Mapk Volkov