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

summer-vue2

v1.0.0

Published

vue2+uview2脚手架

Downloads

5

Readme

项目介绍

主架构 uniapp

介绍

  • 组件使用easycom模式,有暗坑详见示例组件内代码注释。
  • 目前已经更新至uview2.0,uview1.0版本可在码云里面找到

plugins

项目结构

├─apis					// 接口管理
│  ├─modules 			// api模块化目录
│  │  └─user.js 		// 模块化示例user
│  ├─http.api.js 		// 接口定义文件
│  └─http.interceptor 	// 拦截器
├─common				// 公共文件
│  ├─config 			// 环境配置 (设置baseurl等)
│  ├─extend 			// 扩展原型方法
│  ├─filters 			// 全局过滤器
│  ├─tools 				// 全局公共方法
│  └─router 			// 路由文件
├─components			// 项目组件库
│  ├─cl-test			// easycom测试组件 (示例使用可删除)
│  └─cl-icon			// iconfont图标组件
├─store					// vuex
│  ├─$u.mixin			// store全局混入方法
│  └─index				// vuex
├─uni_modules			// 插件市场插件目录
│  └─uview-ui			// uview-ui	

自定义环境配置

官方文档示例,目前已配置了H5与微信小程序,其他自行配置即可。

avatar

avatar

Iconfont 注意事项

  1. 在阿里矢量图标库创建项目
  2. 添加你所需要使用的图标文件
  3. 下载文件到本地后替换components/cl-icon里面的文件

Iconfont示例

iconfont库中修改示例:

avatar

代码示例:

	<cl-icon type="test" size="30" color="#000000"></cl-icon>

依赖安装

  1. 安装之前请移除下载后自带的package.json 使用下面代码安装依赖即可运行
  2. uview2.0可在uni_modules下右键即可更新至最新
npm i uni-simple-router uni-read-pages

仓库

gitee

贡献者

风筝 陈木杉