1
magicdawn 297 天前 via Android
|
2
DOLLOR 297 天前
我一直用 chrome 文档官网,不过我觉得不是很好用
https://developer.chrome.com/docs/extensions/ MDN 也是可以的,但跟 chrome 的实现有区别,这需要注意 https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions 另外推荐安装类型提示,活动更好的开发体验 https://github.com/GoogleChrome/chrome-types |
3
molvqingtai 297 天前
能完整支持 HMR 的只有 plasmo
@crxjs/chrome-extension-tools HMR 有 bug ,昨天刚提了 PR: https://github.com/crxjs/chrome-extension-tools/pull/755 |
4
Pipecraft 296 天前 2
自荐一个 https://github.com/utags/browser-extension-starter ,在 https://github.com/PlasmoHQ/plasmo 项目基础上做的脚手架。
用它可以同时开发浏览器扩展与用户脚本(油猴脚本),一个代码可以同时编译出 Chrome 扩展,Firefox 扩展与用户脚本。 已对 storage API 与 用户脚本 API (GM_xxx) 做了封装。 我用它已经写了 7 个插件,其中一个 V2EX 用户脚本项目供参考。 https://github.com/v2hot/v2ex.rep |
5
xiaoz 296 天前 via Android
最近我重构了一个 Chrome 扩展,用的 https://github.com/antfu/vitesse-webext ,适合 Vue 开发者,感觉还行。
|