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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-bim

v1.0.0

Published

bim wap by vuejs

Downloads

19

Readme

技术文档

安装

  • git clone
  • npm install

运行

  • npm run dev
  • 在dist目录下起本地服务如 http-server
  • 访问localhost:8080/m/ (对应线上地址:http://bim-dev.netease.com/m/)

发布

  • npm run publish

规范

  • css规范
    • 命名规范:布局(grid)(.g-);模块(module)(.m-);元件(unit)(.u-);功能(function)(.f-);皮肤(skin)(.s-);状态(.z-)。
    • reset.css,function.css 为公共可使用的css,可根据nec规范自行添加需要的
    • 以上参考:nec
    • 公用的css统一再index.js中import;各模块的css写在各模块的vue文件内。(目前暂未讲模块内的css 单独打包,而是会打包在js中,有待完善)
    • 其他待补充
  • js规范
    • es6 语法
    • 模块统一使用 import 和 export
    • import时文件后缀名可写可不写,为保持统一,建议不写
    • 其他待补充

项目结构

  • dist 【打包输出目录】(git ignore)
  • node_modules 【npm依赖包目录】(git ignore)
  • src 【源码】
    • assets 【资源文件】
      • css 【公用css】
      • fonts 【字体文件】(暂无)
      • icon-fonts 【icons】(暂无)
      • sass 【公用sass】
      • images 【图片】(暂无)
    • common 【公用api等】
      • service 【ajax】
        • request.js 【fetch,promise】
        • path.js 【url constant】
      • filter.js 【过滤器】
    • components:【组件】
    • libs 【第三方库】
    • store 【vuex状态管理】
    • views 【页面】
      • login
      • register
      • share
    • app.vue 【主视图】
    • index.js 【入口文件】
    • routes.js【路由配置】
  • .babelrc 【bebel配置】
  • .gitignore 【git配置】
  • index.html 【模板文件】
  • package.json
  • webpack.config.js 【本地开发使用,有soucemap,无hash】
  • webpack.config.prod.js 【线上发布使用,无soucemap,有hash】
  • README

主要技术文档

可能需要的其他资源

联系