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

vue-lol

v1.0.1

Published

League of Legends Data project

Downloads

4

Readme

Vue2.0版英雄联盟助手

vuejs League of Legends project

项目源码 在线地址 (该地址目标暂时有问题,请直接下载项目运行)

Version: 2.0 更新内容:

重写了vuex部分 添加了周免英雄

1. 技术栈

vue-cli + muse-ui 构建,使用 axios 进行数据的请求,使用 vuex 进行状态管理,图片懒加载: vue-lazyload,轮播组件:vue-awesome-swiper,上拉加载: vue-infinite-scroll

2.Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8888
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

3. 已经完成的模块

  • [x] Landing page
  • [x] 英雄列表页
  • [x] 英雄详情页
  • [x] 召唤师搜索页面
  • [x] 召唤师详情页(内含战绩列表)
  • [x] 召唤师详情页战绩列表的下拉刷新(还不流畅)
  • [x] 单场比赛对局信息
  • [x] 关于页面
  • [x] 新建新闻页,作为首页
  • [x] 视频页加载iframe卡 (用正则匹配出视频地址)
  • [x] UI优化 (替换成muse-ui)
  • [x] 英雄详情布局
  • [x] 点击返回按钮时tab的正确显示

4. 效果图

5. 待完成与优化

  • [ ] 单场比赛信息的完善
  • [ ] 完善API文档
  • [ ] 召唤师搜索页内容的丰富
  • [ ] footerfixed,输入法问题
  • [ ] 丰富视频页内容
  • [ ] 视频页播放时候是否考虑直接在当前页面弹出层播放,方便关闭
  • [ ] 周免
  • [ ] 段位图标
  • [ ] 英雄的搜索
  • [ ] 一些图片请求的bug

6. 结语

在github上看了那么多的vue项目,自己的看过其中的部分,当然肯定也仿过,可是一直没坚持下去。本项目是自己第一个完整的开源小项目,然后会有很多的不足,也是自己第一次使用vuex,希望大家可以多提意见,我也会一直更新这个项目,喜欢的朋友可以star一下。最后感谢带玩游戏平台提供的API!