rocwang 最近的时间轴更新
rocwang's repos on GitHub
Vue · 280 人关注
vue-virtual-scroll-grid
A Vue 3 component that can render a list with 1000+ items as a grid in a performant way.
HTML · 34 人关注
storefront
An Angular 2 storefront app for Magento 2 (unmaintained)
Vue · 11 人关注
grocery-wise
A web app that does grocery price comparison among Countdown, New World and Pak'nSave in New Zealand.
JavaScript · 3 人关注
bus
A progressive web app for tracking buses & ferries in Auckland, New Zealand
TypeScript · 1 人关注
cash-launcher
This is the web app running on a user's mobile to control the custom-built Cash Launcher.
JavaScript · 1 人关注
graphql-tag
A JavaScript template literal tag that parses GraphQL queries
VimL · 0 人关注
.vim
My Vim configuration
TypeScript · 0 人关注
cash-launcher-server
This is a WebSocket server that transforms the controlling data from the web client to operate the cash launcher from Raspberry Pi.
Vue · 0 人关注
cp77gallery
A simple gallery of Cyberpunk 2077, built with Vue.js 3.
Objective-C · 0 人关注
do-less
Do Less is a companion app for the native Reminders app, by which you could choose the three most important tasks to do at a time. Do Less helps you focus and accomplish more by doing less.
0 人关注
effect
A fully-fledged functional effect system for TypeScript with a rich standard library
PHP · 0 人关注
firegento-dynamiccategory
Dynamically add products to a category based on an attribute selection.
JavaScript · 0 人关注
incoming
Aggregate all the incoming information for you
HTML · 0 人关注
kiwiberry-theme
Vue · 0 人关注
landing
This is the source code of Roc's personal website.
HTML · 0 人关注
magento2-seo-checklist
Magento 2 SEO Checklist
TypeScript · 0 人关注
micado-code-challenge
The solution to the code challenge from Micado
CSS · 0 人关注
pilipili
Pilipili is a browser extension that themes the homepage of bilibili.com with a Pronhub flavour.
Vue · 0 人关注
socialite
“名媛”群邀请函落地页
Python · 0 人关注
sqlfluff
A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
Vue · 0 人关注
vue-cli-html-file-name
Modern build fails when the output HTML filename contain subdirectories
Vue · 0 人关注
vvsg-issue-152
This repo try to prove that vue-virtual-scroll-grid 1.2.3 fixes https://github.com/rocwang/vue-virtual-scroll-grid/issues/152
Vue · 0 人关注
whitiwhiti
Whitiwhiti ("swap, exchange" in Maori) is a PageDuty app that can easily swap 2 on-call shifts using PageDuty's "override" feature.
rocwang

rocwang

V2EX 第 516501 号会员,加入于 2020-11-08 16:49:59 +08:00
rocwang 最近回复了
2021-02-21 06:34:16 +08:00
回复了 50vip 创建的主题 分享创造 🎉 echarts-for-react v3 发布,支持 echarts v5
十分感谢题主的项目!我有在用 echarts-for-react,确实蛮好用的。

我在选这种图表库的时候发现除了 echarts,G2Plot 和 ant-design-charts,还有一个 BizCharts ( https://github.com/alibaba/BizCharts) ,也是出自阿里,且也是基于 G2Plot 为 React 的封装。不知道它和 ant-design-charts 有什么异同?
题主说的不错,确实会不连贯。

如果有兴趣学习 Vim 编辑器的话,我倒是非常它的推荐光标移动方式:

“ 使用光标键,或者用 "h" 向左,"j" 向下,"k" 向上,"l" 向右。”

https://yianwillis.github.io/vimcdoc/doc/help.html
2020-12-19 13:02:18 +08:00
回复了 hoythan 创建的主题 JavaScript 前端有没有离线的地图服务?
我正好做过一个业余个人项目,实现了浏览器端离线地图(缓存后)。

Demo: https://bus.kiwiberry.nz/favourites?isCollapsed=yes
代码: https://github.com/rocwang/bus

大致方案:

1. 去 https://openmaptiles.org/ 下载矢量地图包( sqlite db )。
2. 用 https://github.com/ibesora/vt-optimizer 去除不需要的图层以减小地图包体积。
3. 把地图用到的字体文件也写入地图包。
3. 用 brotli 压缩整个地图包,进一步减小其体积。
4. 把制作好的地图包另解压一份,以零散的字体文件和瓦片文件存储,以供浏览器无缓存第一次访问时使用。
5. 在前端实现 service worker,在 cache storage 中缓存压缩好的地图包。
6. 后续所有地图瓦片,字体的请求,均由 service worker 本地处理——使用 https://github.com/kripken/sql.js/ 在浏览器中直接查询基于 sqlite 的地图包,生成响应后直接返回给前端,从而实现离线地图。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2862 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 15:27 · PVG 23:27 · LAX 08:27 · JFK 11:27
Developed with CodeLauncher
♥ Do have faith in what you're doing.