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

zznode-vue-cli

v1.0.1

Published

空模板

Readme

研发说明

  1. 不允许私自升级element-ui;
  2. 所有路由导出采用异步(按需)
  3. 只用打包一次,以后每次请求的地址都在发布包的assets-index.min.js 修改对应的值(如:SYSTEM_BASE_URL)

包功能点说明

  1. defaultTemplate 默认模板,包含列表、详情、鱼骨图、侧滑框、步骤图等(登陆界面用户名、密码任意输入即可)

浏览器兼容说明

  1. 整体架构支持 >= IE10+;
  2. 最佳体验 >= IE11+;

WEB技术栈

  1. 架构于 vue2.5+ && vue-router3.0+ && vuex3.0+ && axios0.17 && webpack3.9+ && gulp

项目环境安装与运行(因部分库引用国外服务器install时,建议使用cnpm)

  1. 安装开发库: 拷贝开发库文件到开发项目中
  2. 安装依赖:(需要跳转到对应的项目文件路径,开发环境依赖node8.X LTS版本,需要安装,不能用8.X以上版本,有node兼容性问题) npm install
  3. 运行项目:(运行前确保依赖安装完成且无失败项) npm run start
  4. 重启项目:(与运行一致,但不会打开首页) npm run restart
  5. 打包发布命令:(发布规则为,只发布dist目录所有文件,nginx指向也指向文件所在目录) npm run deploy
  6. 开发数据联调:(在进行数据联调的过程中,不需nginx代理,直接webpack devServer进行开发) 注意请求字段替代或则后端统一配置起始字段
  7. cnpm 安装路径 npm install -g cnpm --registry=https://registry.npm.taobao.org

与devOps平台对接,设置命令为export

解决vuex刷新浏览器数据清空问题:在store index.js中引入vuex-persistedstate

已做token校验