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

angular-weui

v0.9.3

Published

Angular2-WeUI - a development UI library for building mobile web applications with Angular2

Downloads

118

Readme

Angular2-WeUI

Angular2-WeUI 是基于Angular2实现的、针对手机端(如微信)Web应用开发的UI框架。

WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信内网页和微信小程序量身设计,令用户的使用感知更加统一。

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript (JS) and other languages.

Angular2-WeUI 是采用Angular2对WeUI重写的UI库,包含了全部WeUI官方的CSS组件,如Picker、DatePicker、ActionSheet、Dialog等,通过Angular2提供的数据绑定(MVVM)、依赖注入(DI)、标签自定义(Directive)等机制,封装后的WeUI组件更加灵活方便,使开发人员可以更加专注于业务的实现,可以极大减少前端开发时间。

Install

npm install angular-weui --save

如果下载速度较慢,可以尝试加入淘宝 NPM 镜像,以加快模块下载速度。

npm install -g cnpm --registry=https://registry.npm.taobao.org

然后通过cnpm命令来安装:

cnpm install angular-weui --save

Quickstart

直接下载本工程,并启动运行查看Demo:

git clone https://github.com/fbchen/angular2-weui.git
cd angular2-weui
cnpm install

下载angular-weui后,通过开发工具VSCode打开安装目录,点击调试“启动程序”,然后在浏览器中输入 http://localhost:4200/ 直接预览效果。

Usage

import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';

import { WeUIModule } from 'angular-weui';

import { AppComponent }   from './app.component';

@NgModule({
    imports: [
        FormsModule,
        BrowserModule,
        WeUIModule
    ],
    declarations: [
        AppComponent
    ],
    providers: [],
    bootstrap: [ AppComponent ]
})
export class AppModule { }

License

基于 MIT 协议发布,免费开源

Contributing

Thanks for your interest in contributing! :tada: Read up on our guidelines for contributing and then look through our issues with a help help wanted label.

我们欢迎任何形式的贡献,有任何建议或意见您可以进行 Pull Request,或者给我们 提问

##DONATIONS

If you find Angular2-WeUI helpful, please consider making a donation (of cash, software, or hardware) to support continued work on the project. You can donate through 支付宝/Alipay or 微信/WeChat by scanning qrcodes as follows:

image image