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

mpvue-weui

v1.0.13

Published

mpvue-weui, 基于 mpvue 的 weui 框架

Downloads

30

Readme

Mpvue-WeUI

Mpvue-WeUI是基于 mpvue 的一个小程序 UI 框架, 保留了 weui 的视觉规范,旨在提高小程序开发体验,同时让用户的使用感知更加统一。

文档

mpvue-weui 文档

扫码体验

安装

npm install mpvue-weui --save  # cnpm install mpvue-weui --save

使用

/* 全局引入 weui.css (在 `src/main.js` 中引入 weui.css) */
import 'mpvue-weui/src/style/weui.css';
<template>
  <mp-button type="primary" size="large" btnClass="mb15">默认按钮</mp-button>
</template>
<script>
  import mpButton from 'mpvue-weui/src/button';
  export default {
    components: {
      mpButton,
    },
  }
</script>
  • 目前由于 mpvue 暂不支持全局安装组件,因此只能通过页面单独引入。
  • 更多组件

开发预览

1. git clone
git clone [email protected]:MPComponent/mpvue-weui.git

2. 安装依赖
npm install

3. 启动程序
npm run dev

4. 预览
打开微信开发者工具,新建项目,将目录指向 /dist 即可

相关说明

之前写了 用 vue 写小程序,基于 mpvue 框架重写 weui,这个是在 mpvue 开源之初写的,开始的目的是想重写下 weui,然后写了一些踩坑文档。可能有点遗憾的是没有对其进行完整的封装,以至于在使用过程中就很不方便,在 issues 中也看到一些关于能不能封装成一个独立的 UI 框架的想法,加上大家也给了这个仓库这么多 ⭐️ ⭐️ ,因此决定将其封装成一个独立的 UI 框架:mpvue-weui

贡献

欢迎各位大佬贡献代码,贡献方法如下:

  • fork 本仓库到自己账户下
  • 提交变更
  • PR 到本仓库 (dev 分支)
  • 等待 Review